WorkspaceProject class abstract
Constructors
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
-
findWorkspaceRoot(
Directory projectDir) → (Directory, Pubspec) -
Finds the workspace root directory above the project directory.
Returns a tuple with the workspace root directory and a
Pubspecobject for its pubspec.yaml file. -
prepareWorkspacePaths(
Directory projectDirectory) → (Directory, Iterable< String> ) - Analyzes the workspace, creates bespoke deployment files, and compiles the list of paths whose contents are to be included.
-
stripDevDependenciesFromPubspecContent(
String pubspecContent) → String? - Strips dev_dependencies from pubspec.yaml content in memory. Returns the modified content, or null if no changes were needed.