BareMetalAdminIslandModeCidrConfig.fromJson constructor

BareMetalAdminIslandModeCidrConfig.fromJson(
  1. Map json_
)

Implementation

BareMetalAdminIslandModeCidrConfig.fromJson(core.Map json_)
    : this(
        podAddressCidrBlocks: json_.containsKey('podAddressCidrBlocks')
            ? (json_['podAddressCidrBlocks'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        serviceAddressCidrBlocks:
            json_.containsKey('serviceAddressCidrBlocks')
                ? (json_['serviceAddressCidrBlocks'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
      );