copyWith method

BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost copyWith({
  1. WorkspaceResourceType? resourceType,
  2. dynamic userEmail,
  3. dynamic groupId,
  4. dynamic workspaceApiKeyId,
})

Implementation

BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost
    copyWith(
        {enums.WorkspaceResourceType? resourceType,
        dynamic userEmail,
        dynamic groupId,
        dynamic workspaceApiKeyId}) {
  return BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost(
      resourceType: resourceType ?? this.resourceType,
      userEmail: userEmail ?? this.userEmail,
      groupId: groupId ?? this.groupId,
      workspaceApiKeyId: workspaceApiKeyId ?? this.workspaceApiKeyId);
}