InlineQueryResultArticle.fromJson constructor

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

Parse from a json

Implementation

factory InlineQueryResultArticle.fromJson(Map<String, dynamic> json) => InlineQueryResultArticle(
  id: json['id'],
  url: json['url'],
  hideUrl: json['hide_url'],
  title: json['title'],
  description: json['description'],
  thumbnail: json['thumbnail'] == null ? null : Thumbnail.fromJson(json['thumbnail']),
);