toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.companyId != null) {
json[r'company_id'] = this.companyId;
} else {
json[r'company_id'] = null;
}
if (this.functionId != null) {
json[r'function_id'] = this.functionId;
} else {
json[r'function_id'] = null;
}
if (this.status != null) {
json[r'status'] = this.status;
} else {
json[r'status'] = null;
}
if (this.emailAddress != null) {
json[r'email_address'] = this.emailAddress;
} else {
json[r'email_address'] = null;
}
if (this.timezone != null) {
json[r'timezone'] = this.timezone;
} else {
json[r'timezone'] = null;
}
return json;
}