TGoogleQueryPrediction.fromJson constructor
Implementation
factory TGoogleQueryPrediction.fromJson(Map<String, dynamic> json) {
return TGoogleQueryPrediction(
text: json['text'] != null
? TGooglePredictionText.fromJson(json['text'] as Map<String, dynamic>)
: null,
query: json['query']?.toString(),
);
}