PlaceDetailsResult.fromJson constructor

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

Implementation

PlaceDetailsResult.fromJson(Map<String, dynamic> json) {
  status = json['status'];
  result = json.containsKey('result') && json['result'] != null
      ? PlaceDetails.fromJson(json['result'])
      : null;
}