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