DescribeConnectionsResponse.fromJson constructor

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

Implementation

factory DescribeConnectionsResponse.fromJson(Map<String, dynamic> json) {
  return DescribeConnectionsResponse(
    connections: (json['Connections'] as List?)
        ?.whereNotNull()
        .map((e) => Connection.fromJson(e as Map<String, dynamic>))
        .toList(),
    marker: json['Marker'] as String?,
  );
}