ListVirtualGatewaysOutput.fromJson constructor

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

Implementation

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