EmailAddress.fromJson constructor
Creates a new instance of EmailAddress from a JSON object.
The JSON object should contain keys that correspond to the parameters of EmailAddress.
Implementation
factory EmailAddress.fromJson(Map<String, dynamic> json) {
return EmailAddress(
name: json['name'],
address: json['address'],
);
}