PlaceAutocompleteMatchedSubstring constructor

const PlaceAutocompleteMatchedSubstring({
  1. required int length,
  2. required int offset,
})

Construct a PlaceAutocompleteMatchedSubstring object.

Implementation

const factory PlaceAutocompleteMatchedSubstring({
  /// Length of the matched substring in the prediction result text.
  required int length,

  /// Start location of the matched substring in the prediction result text.
  required int offset,
}) = _PlaceAutocompleteMatchedSubstring;