contactInfo property

ContactInfo get contactInfo

Retrieves contact information for this landmark.

The returned ContactInfo may contain phone numbers, emails, URLs and textual descriptions. If you modify the returned object, assign it back to contactInfo to persist the change on the landmark.

Returns

  • ContactInfo: Contact details associated with the landmark.

Implementation

ContactInfo get contactInfo {
  final OperationResult resultString = objectMethod(
    pointerId,
    'Landmark',
    'getContactInfo',
  );

  return ContactInfo.init(resultString['result']);
}
set contactInfo (ContactInfo contactInfo)

Sets the contact information for this landmark.

Parameters

  • contactInfo: The ContactInfo instance with phone, email, URLs, etc.

Implementation

set contactInfo(final ContactInfo contactInfo) {
  objectMethod(
    pointerId,
    'Landmark',
    'setContactInfo',
    args: contactInfo.pointerId,
  );
}