fromJson static method

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

Creates a object from a json

Implementation

static InputVenueMessageContent fromJson(Map<String, dynamic> json) {
  return InputVenueMessageContent(
    json['latitude']!,
    json['longitude']!,
    json['title']!,
    json['address']!,
    foursquareId: json['foursquare_id'],
    foursquareType: json['foursquare_type'],
    googlePlaceId: json['google_place_id'],
    googlePlaceType: json['google_place_type'],
  );
}