toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'rawValue'] = this.rawValue;
json[r'emailAddress'] = this.emailAddress;
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
return json;
}