searchAddresses property

bool get searchAddresses

Whether searching through addresses (including roads) is enabled.

Default is true.

Returns

  • True if address searches are enabled, false otherwise.

Implementation

bool get searchAddresses {
  final OperationResult resultString = objectMethod(
    pointerId,
    'SearchPreferences',
    'getsearchaddresses',
  );

  return resultString['result'];
}
set searchAddresses (bool value)

Enable or disable searching through addresses.

Parameters

  • value: True to include addresses in search results, false to exclude them.

Implementation

set searchAddresses(final bool value) {
  objectMethod(
    pointerId,
    'SearchPreferences',
    'setsearchaddresses',
    args: value,
  );
}