RichTextPhoneNumber.fromJson constructor
Parses a RichTextPhoneNumber from TDLib JSON.
Implementation
factory RichTextPhoneNumber.fromJson(Map<String, dynamic> json) =>
RichTextPhoneNumber(
text: _readObject(json['text'], RichText.fromJson),
phoneNumber: _readString(json['phone_number']),
);