toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (displayName != null) 'displayName': displayName!,
      if (latitude != null) 'latitude': latitude!,
      if (longitude != null) 'longitude': longitude!,
      if (proximityRadiusAmount != null)
        'proximityRadiusAmount': proximityRadiusAmount!,
      if (proximityRadiusUnit != null)
        'proximityRadiusUnit': proximityRadiusUnit!,
      if (targetingOptionId != null) 'targetingOptionId': targetingOptionId!,
    };