maximumMatches property

int get maximumMatches

Get the maximum number of matches.

Note

  • Default is 40.

Returns

  • Maximum number of matches

Throws

  • An exception if it fails.

Implementation

int get maximumMatches {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'GuidedAddressSearchPreferences',
    'getMaximumMatches',
  );

  return resultString['result'];
}
set maximumMatches (int matches)

Set the maximum number of matches.

Parameters

  • IN matches Maximum number of matches

Throws

  • An exception if it fails.

Implementation

set maximumMatches(final int matches) {
  objectMethod(
    _pointerId,
    'GuidedAddressSearchPreferences',
    'setMaximumMatches',
    args: matches,
  );
}