ApigatewayListApiConfigsResponse.fromJson constructor Null safety

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,
      );