AttackExposure.fromJson constructor

AttackExposure.fromJson(
  1. Map json_
)

Implementation

AttackExposure.fromJson(core.Map json_)
  : this(
      attackExposureResult: json_['attackExposureResult'] as core.String?,
      exposedHighValueResourcesCount:
          json_['exposedHighValueResourcesCount'] as core.int?,
      exposedLowValueResourcesCount:
          json_['exposedLowValueResourcesCount'] as core.int?,
      exposedMediumValueResourcesCount:
          json_['exposedMediumValueResourcesCount'] as core.int?,
      latestCalculationTime: json_['latestCalculationTime'] as core.String?,
      score: (json_['score'] as core.num?)?.toDouble(),
      state: json_['state'] as core.String?,
    );