Place.fromJson constructor

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

Implementation

factory Place.fromJson(Map<String, dynamic> json) => Place(
      htmlAttributions: json["html_attributions"] == null
          ? []
          : List<dynamic>.from(json["html_attributions"]!.map((x) => x)),
      result: json["result"] == null ? null : Result.fromJson(json["result"]),
      status: json["status"],
    );