InlineQueryResultPhoto.fromJson constructor

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

Parse from a json

Implementation

factory InlineQueryResultPhoto.fromJson(Map<String, dynamic> json) =>
    InlineQueryResultPhoto(
      id: json['id'],
      photo: Photo.fromJson(json['photo']),
      title: json['title'],
      description: json['description'],
    );