PageBlockAuthorDate.fromJson constructor

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

Parses a PageBlockAuthorDate from TDLib JSON.

Implementation

factory PageBlockAuthorDate.fromJson(Map<String, dynamic> json) =>
    PageBlockAuthorDate(
      author: _readObject(json['author'], RichText.fromJson),
      publishDate: _readInt(json['publish_date']),
    );