WorkspaceResource class

Constructors

WorkspaceResource({String rootPath = _defaultWorkspacePath, required ResourceProvider resourceProvider, required FileSystem fileSystem})

Properties

container → ProviderContainer
no setter
fileSystem → FileSystem
final
folder → Folder
no setter
hashCode int
The hash code for this object.
no setterinherited
lintStream Stream<LintNotification>
no setter
locator → ContextLocator
no setter
packages List<PackageResource>
no setter
resourceProvider → ResourceProvider
final
rootPath String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createDartPackage({String? name, String? parentDirectoryPath, bool isSidecarEnabled = true, SidecarSpec? sidecarYaml}) PackageResource
delete() → void
deleteDartPackage(PackageResource package) → void
deleteFile(String relativePath) → void
inherited
deleteLibFolder() → void
inherited
getFile(String path) → File
inherited
getFolder(String path) → Folder
inherited
init() → void
modifyFile(String relativePath, String content) → File
inherited
newFolder(String path) → Folder
inherited
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