StartWorkspacesResult.fromJson constructor

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

Implementation

factory StartWorkspacesResult.fromJson(Map<String, dynamic> json) {
  return StartWorkspacesResult(
    failedRequests: (json['FailedRequests'] as List?)
        ?.whereNotNull()
        .map((e) =>
            FailedWorkspaceChangeRequest.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}