toJson method
Converts this GrxPhoneNumber to a JSON map.
Returns:
{
"phone": "11987654321",
"countryCode": "+55"
}
Implementation
Map<String, dynamic> toJson() {
return {'phone': phone, 'countryCode': countryCode};
}
Converts this GrxPhoneNumber to a JSON map.
Returns:
{
"phone": "11987654321",
"countryCode": "+55"
}
Map<String, dynamic> toJson() {
return {'phone': phone, 'countryCode': countryCode};
}