DescribeDirectConnectGatewayAttachmentsResult.fromJson constructor
DescribeDirectConnectGatewayAttachmentsResult.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeDirectConnectGatewayAttachmentsResult.fromJson(
Map<String, dynamic> json) {
return DescribeDirectConnectGatewayAttachmentsResult(
directConnectGatewayAttachments:
(json['directConnectGatewayAttachments'] as List?)
?.whereNotNull()
.map((e) => DirectConnectGatewayAttachment.fromJson(
e as Map<String, dynamic>))
.toList(),
nextToken: json['nextToken'] as String?,
);
}