InlineQueryResultContact.fromJson constructor

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

Parse from a json

Implementation

factory InlineQueryResultContact.fromJson(Map<String, dynamic> json) =>
    InlineQueryResultContact(
      id: json['id'],
      contact: Contact.fromJson(json['contact']),
      thumbnail: json['thumbnail'] == null
          ? null
          : Thumbnail.fromJson(json['thumbnail']),
    );