ApigatewayListGatewaysResponse.fromJson constructor

ApigatewayListGatewaysResponse.fromJson(
  1. Map json_
)

Implementation

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