PageBlockSectionHeading.fromJson constructor

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

Parses a PageBlockSectionHeading from TDLib JSON.

Implementation

factory PageBlockSectionHeading.fromJson(Map<String, dynamic> json) =>
    PageBlockSectionHeading(
      text: _readObject(json['text'], RichText.fromJson),
      size: _readInt(json['size']),
    );