SuggestionMatch.fromJson constructor

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

Implementation

factory SuggestionMatch.fromJson(Map<String, dynamic> json) {
  return SuggestionMatch(
    id: json['id'] as String?,
    score: json['score'] as int?,
    suggestion: json['suggestion'] as String?,
  );
}