RichResultsInspectionResult.fromJson constructor

RichResultsInspectionResult.fromJson(
  1. Map json_
)

Implementation

RichResultsInspectionResult.fromJson(core.Map json_)
    : this(
        detectedItems: json_.containsKey('detectedItems')
            ? (json_['detectedItems'] as core.List)
                .map((value) => DetectedItems.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        verdict: json_.containsKey('verdict')
            ? json_['verdict'] as core.String
            : null,
      );