toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (adaptiveProtection != null)
        'adaptiveProtection': adaptiveProtection!,
      if (attack != null) 'attack': attack!,
      if (duration != null) 'duration': duration!,
      if (requests != null) 'requests': requests!,
      if (securityPolicy != null) 'securityPolicy': securityPolicy!,
      if (threatVector != null) 'threatVector': threatVector!,
    };