InputPageBlockSectionHeading.fromJson constructor

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

Parses a InputPageBlockSectionHeading from TDLib JSON.

Implementation

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