AutocompleteMatchedSubstring.fromJson constructor

AutocompleteMatchedSubstring.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AutocompleteMatchedSubstring.fromJson(Map<String, dynamic> json) {
  return AutocompleteMatchedSubstring(
    length: json['length'],
    offset: json['offset'],
  );
}