DescribeOutboundConnectionsResponse.fromJson constructor

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

Implementation

factory DescribeOutboundConnectionsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeOutboundConnectionsResponse(
    connections: (json['Connections'] as List?)
        ?.whereNotNull()
        .map((e) => OutboundConnection.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}