HereViewResult.fromJson constructor
HereViewResult.fromJson(
- Map<String, dynamic> json
)
Implementation
HereViewResult.fromJson(Map<String, dynamic> json) {
relevance = json['Relevance'] as double;
matchLevel = json['MatchLevel'] as String;
matchQuality = HereMatchQuality.fromJson(json['MatchQuality']);
location = HereLocation.fromJson(json['Location']);
// matchQuality = json['MatchQuality'] != null ? new MatchQuality.fromJson(json['MatchQuality']) : null;
// location = json['Location'] != null ? new Location.fromJson(json['Location']) : null;
}