AddPathDependency class final
Adds a path dependency to pubspec.yaml.
Useful when a plugin ships a companion package that should be referenced by relative path rather than a published version.
Example
AddPathDependency(name: 'my_lib', path: '../my_lib')
- Inheritance
-
- Object
- InstallOperation
- AddPathDependency
Constructors
- AddPathDependency({required String name, required String path})
-
Creates an AddPathDependency operation.
const
Properties
Methods
-
describe(
) → String -
Returns a human-readable dry-run line for this operation.
override
-
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