PlaceAutocompleteMatchedSubstring.fromMap constructor

PlaceAutocompleteMatchedSubstring.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory PlaceAutocompleteMatchedSubstring.fromMap(Map<String, dynamic> map) {
  return PlaceAutocompleteMatchedSubstring(
    length: map['length'] as int,
    offset: map['offset'] as int,
  );
}