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