toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (allowImpreciseAddresses != null)
'allowImpreciseAddresses': allowImpreciseAddresses!,
if (commuteMethod != null) 'commuteMethod': commuteMethod!,
if (departureTime != null) 'departureTime': departureTime!,
if (roadTraffic != null) 'roadTraffic': roadTraffic!,
if (startCoordinates != null) 'startCoordinates': startCoordinates!,
if (travelDuration != null) 'travelDuration': travelDuration!,
};