searchOnlyOnboard property
Get the flag for onboard search.
Returns
- True if the search is done using only onboard data, false otherwise.
Throws
- An exception if it fails.
Implementation
bool get searchOnlyOnboard {
final OperationResult resultString = objectMethod(
_pointerId,
'GuidedAddressSearchPreferences',
'getSearchOnlyOnboard',
);
return resultString['result'];
}
Set the flag for onboard search
If this flag is true then the search will be done using only local data. By default it is false.
Parameters
- IN searchOnlyOnboard Flag for onboard search.
Throws
- An exception if it fails.
Implementation
set searchOnlyOnboard(final bool searchOnlyOnboard) {
objectMethod(
_pointerId,
'GuidedAddressSearchPreferences',
'setSearchOnlyOnboard',
args: searchOnlyOnboard,
);
}