Search.fromJson constructor
Search.fromJson(
- dynamic json
Implementation
factory Search.fromJson(dynamic json) {
return Search(json['placeId'] as int, json['name'] as String,json['address'] as String, json['score'] as double,json['type'] as String);
}