ListUsableSubnetworksResponse.fromJson constructor

ListUsableSubnetworksResponse.fromJson(
  1. Map json_
)

Implementation

ListUsableSubnetworksResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        subnetworks: json_.containsKey('subnetworks')
            ? (json_['subnetworks'] as core.List)
                .map((value) => UsableSubnetwork.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );