TextRanges.fromJson constructor
Parses a TextRanges from TDLib JSON.
Implementation
factory TextRanges.fromJson(Map<String, dynamic> json) => TextRanges(
ranges: _readList<TextRange>(
json['ranges'],
(e) => _readObject(e, TextRange.fromJson),
),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);