toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (customLocation != null) 'customLocation': customLocation!,
if (homeOffice != null) 'homeOffice': homeOffice!,
if (officeLocation != null) 'officeLocation': officeLocation!,
if (type != null) 'type': type!,
};