RichTextUnderline.fromJson constructor

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

Parses a RichTextUnderline from TDLib JSON.

Implementation

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