toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (address != null) 'address': address!,
      if (distanceInMiles != null) 'distanceInMiles': distanceInMiles!,
      if (latLng != null) 'latLng': latLng!,
      if (regionCode != null) 'regionCode': regionCode!,
      if (telecommutePreference != null)
        'telecommutePreference': telecommutePreference!,
    };