DescribeOutboundCrossClusterSearchConnectionsResponse.fromJson constructor

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

Implementation

factory DescribeOutboundCrossClusterSearchConnectionsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeOutboundCrossClusterSearchConnectionsResponse(
    crossClusterSearchConnections:
        (json['CrossClusterSearchConnections'] as List?)
            ?.whereNotNull()
            .map((e) => OutboundCrossClusterSearchConnection.fromJson(
                e as Map<String, dynamic>))
            .toList(),
    nextToken: json['NextToken'] as String?,
  );
}