toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (locationCode != null) 'locationCode': locationCode!,
if (pickupLocationAddress != null)
'pickupLocationAddress': pickupLocationAddress!,
if (pickupLocationType != null)
'pickupLocationType': pickupLocationType!,
if (pickupPersons != null) 'pickupPersons': pickupPersons!,
};