maxMatches property

int get maxMatches

Maximum number of matches returned by search operations.

Default is 40.

Returns

  • The maximum number of matches.

Implementation

int get maxMatches {
  final OperationResult resultString = objectMethod(
    pointerId,
    'SearchPreferences',
    'getmaxmatches',
  );

  return resultString['result'];
}
set maxMatches (int value)

Set the maximum number of matches to return.

Parameters

  • value: Maximum number of matches.

Implementation

set maxMatches(final int value) {
  objectMethod(pointerId, 'SearchPreferences', 'setmaxmatches', args: value);
}