InlineQueryResultDocument.fromJson constructor

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

Parse from a json

Implementation

factory InlineQueryResultDocument.fromJson(Map<String, dynamic> json) =>
    InlineQueryResultDocument(
      id: json['id'],
      document: Document.fromJson(json['document']),
      title: json['title'],
      description: json['description'],
    );