RichTexts.fromJson constructor

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

Parses a RichTexts from TDLib JSON.

Implementation

factory RichTexts.fromJson(Map<String, dynamic> json) => RichTexts(
      texts: _readList<RichText>(
          json['texts'], (e) => _readObject(e, RichText.fromJson)),
    );