RemoveDependency class final
Removes a dependency from pubspec.yaml (from either dependencies or
dev_dependencies).
Example
RemoveDependency(name: 'legacy_pkg')
- Inheritance
-
- Object
- InstallOperation
- RemoveDependency
Constructors
- RemoveDependency({required String name})
-
Creates a RemoveDependency 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