BusinessInfo.fromJson constructor

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

Implementation

BusinessInfo.fromJson(Map<String, dynamic> json)
    : this(
          json['name'],
          json['place_id'],
          List.from(json['types']),
          LocationInfo.fromJson(json['geometry']['location']),
          json['vicinity']);