GkePolicy.fromJson constructor

GkePolicy.fromJson(
  1. Map json_
)

Implementation

GkePolicy.fromJson(core.Map json_)
    : this(
        checkSets: json_.containsKey('checkSets')
            ? (json_['checkSets'] as core.List)
                .map((value) => CheckSet.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        imageAllowlist: json_.containsKey('imageAllowlist')
            ? ImageAllowlist.fromJson(json_['imageAllowlist']
                as core.Map<core.String, core.dynamic>)
            : null,
      );