Parse from a json
factory RichTextPhoneNumber.fromJson(Map<String, dynamic> json) => RichTextPhoneNumber( text: RichText.fromJson(json['text']), phoneNumber: json['phone_number'], );