Subnet.fromJson constructor

Subnet.fromJson(
  1. Map json_
)

Implementation

Subnet.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
      );