BareMetalIslandModeCidrConfig.fromJson constructor

BareMetalIslandModeCidrConfig.fromJson(
  1. Map json_
)

Implementation

BareMetalIslandModeCidrConfig.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,
      );