WorkspaceProjectLogic class abstract

Logic (pure functions) for workspace project preparation.

Constructors

WorkspaceProjectLogic.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getWorkspaceDependencies({required Map<String, WorkspacePackage> allWorkspacePackages, required WorkspacePackage package, required Map<String, WorkspacePackage> included}) Map<String, WorkspacePackage>
Recursively gets all workspace dependencies of a package, without duplicates.
makeScloudRootPubspecContent(String rootPubspecContent, Iterable<String> includedPackagePaths) String
Creates the scloud root pubspec content based on the source root pubspec content.
validateIncludedPackages(Iterable<Pubspec> includedPackagePubspecs) → void
Validates that the included packages are compatible with Serverpod Cloud. Throws WorkspaceException if any issues are found.