InputPageBlockExpandableBlockQuote.fromJson constructor

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

Parses a InputPageBlockExpandableBlockQuote from TDLib JSON.

Implementation

factory InputPageBlockExpandableBlockQuote.fromJson(
  Map<String, dynamic> json,
) => InputPageBlockExpandableBlockQuote(
  text: _readObject(json['text'], RichText.fromJson),
  credit: _readOptional(json['credit'], RichText.fromJson),
);