searchOnlyOnboard property

bool get searchOnlyOnboard

Get the flag for onboard search.

Default is false

Returns

  • True if the search will be done using only onboard data, false otherwise

Throws

  • An exception if it fails

Implementation

bool get searchOnlyOnboard {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'SearchPreferences',
    'getsearchonlyonboard',
  );

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

Set the flag for onboard search.

If this flag is true then the search will be done using only onboard data. Default is false

Implementation

set searchOnlyOnboard(final bool value) {
  objectMethod(
    _pointerId,
    'SearchPreferences',
    'setsearchonlyonboard',
    args: value,
  );
}