PoiExtension.fromJson constructor

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

Implementation

PoiExtension.fromJson(Map<String, dynamic> json) {
  opentime = json['opentime'];
  rating = json['rating'];
  cost = json['cost'] ?? 0.0;
}