extraInfo property

ExtraInfo get extraInfo

Retrieves additional metadata associated with this landmark.

The ExtraInfo object is a flexible key/value store used by the SDK to attach auxiliary information. If you modify the returned object you must reassign it to extraInfo to persist the changes.

Returns

  • ExtraInfo: Key/value metadata for the landmark.

Implementation

ExtraInfo get extraInfo {
  final OperationResult resultString = objectMethod(
    pointerId,
    'Landmark',
    'getExtraInfo',
  );

  return ExtraInfo.fromList(resultString['result']);
}
set extraInfo (ExtraInfo list)

Sets the extra metadata for this landmark.

The provided ExtraInfo may contain fields used internally for contour boxes, geographic area metadata or Wikipedia information. It is recommended to preserve those entries when updating to avoid losing auxiliary data.

Parameters

Implementation

set extraInfo(final ExtraInfo list) {
  objectMethod(
    pointerId,
    'Landmark',
    'setExtraInfo',
    args: list.toInputFormat(),
  );
}