DeviceIpBlockCatalog.fromJson constructor

DeviceIpBlockCatalog.fromJson(
  1. Map _json
)

Implementation

DeviceIpBlockCatalog.fromJson(core.Map _json)
    : this(
        ipBlocks: _json.containsKey('ipBlocks')
            ? (_json['ipBlocks'] as core.List)
                .map((value) => DeviceIpBlock.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );