AdaptiveProtection.fromJson constructor

AdaptiveProtection.fromJson(
  1. Map json_
)

Implementation

AdaptiveProtection.fromJson(core.Map json_)
    : this(
        confidence: json_.containsKey('confidence')
            ? (json_['confidence'] as core.num).toDouble()
            : null,
      );