ListGatewayRoutesOutput.fromJson constructor

ListGatewayRoutesOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListGatewayRoutesOutput.fromJson(Map<String, dynamic> json) {
  return ListGatewayRoutesOutput(
    gatewayRoutes: (json['gatewayRoutes'] as List)
        .whereNotNull()
        .map((e) => GatewayRouteRef.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}