ApigatewayListApiConfigsResponse.fromJson constructor

ApigatewayListApiConfigsResponse.fromJson(
  1. Map json_
)

Implementation

ApigatewayListApiConfigsResponse.fromJson(core.Map json_)
    : this(
        apiConfigs: json_.containsKey('apiConfigs')
            ? (json_['apiConfigs'] as core.List)
                .map((value) => ApigatewayApiConfig.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,
      );