toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (placeId != null) {
_json[r'PlaceId'] = placeId;
} else {
_json[r'PlaceId'] = null;
}
_json[r'Name'] = name;
_json[r'Address'] = address;
if (enabled != null) {
_json[r'Enabled'] = enabled;
} else {
_json[r'Enabled'] = null;
}
if (companyType != null) {
_json[r'CompanyType'] = companyType;
} else {
_json[r'CompanyType'] = null;
}
if (email != null) {
_json[r'Email'] = email;
} else {
_json[r'Email'] = null;
}
if (createDate != null) {
_json[r'CreateDate'] = createDate!.toUtc().toIso8601String();
} else {
_json[r'CreateDate'] = null;
}
if (changeDate != null) {
_json[r'ChangeDate'] = changeDate!.toUtc().toIso8601String();
} else {
_json[r'ChangeDate'] = null;
}
_json[r'ApplicationUser'] = applicationUser;
return _json;
}