toJson method

Map<String, dynamic> toJson()

Implementation

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