DescribeWorkspacesConnectionStatusResult.fromJson constructor

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

Implementation

factory DescribeWorkspacesConnectionStatusResult.fromJson(
    Map<String, dynamic> json) {
  return DescribeWorkspacesConnectionStatusResult(
    nextToken: json['NextToken'] as String?,
    workspacesConnectionStatus: (json['WorkspacesConnectionStatus'] as List?)
        ?.whereNotNull()
        .map((e) =>
            WorkspaceConnectionStatus.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}