EvaluateGkePolicyResponse.fromJson constructor

EvaluateGkePolicyResponse.fromJson(
  1. Map json_
)

Implementation

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