InlineQueryResultVenue.fromJson constructor

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

Parse from a json

Implementation

factory InlineQueryResultVenue.fromJson(Map<String, dynamic> json) =>
    InlineQueryResultVenue(
      id: json['id'],
      venue: Venue.fromJson(json['venue']),
      thumbnail: json['thumbnail'] == null
          ? null
          : Thumbnail.fromJson(json['thumbnail']),
    );