DescribeInboundConnectionsResponse.fromJson constructor

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

Implementation

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