Subnet.fromJson constructor

Subnet.fromJson(
  1. Map json_
)

Implementation

Subnet.fromJson(core.Map json_)
    : this(
        gatewayIp: json_.containsKey('gatewayIp')
            ? json_['gatewayIp'] as core.String
            : null,
        ipCidrRange: json_.containsKey('ipCidrRange')
            ? json_['ipCidrRange'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        vlanId:
            json_.containsKey('vlanId') ? json_['vlanId'] as core.int : null,
      );