TGooglePredictionText.fromJson constructor
Implementation
factory TGooglePredictionText.fromJson(Map<String, dynamic> json) {
return TGooglePredictionText(
text: json['text']?.toString() ?? '',
matches: json['matches'] as List<dynamic>?,
);
}