RemoveDependency class
Removes a blocking dependency that nothing in the project refers to.
- Inheritance
-
- Object
- AutomaticFix
- RemoveDependency
Constructors
-
RemoveDependency({required String package, required bool isDev, required List<
String> reasons}) -
const
Properties
- file → String
-
The file it edits, relative to the project root.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBlocking → bool
-
True when the change blocks a build today, so making it matters for the
exit code.
no setteroverride
- isDev → bool
-
final
- package → String
-
final
-
reasons
→ List<
String> -
Why the change is being made. Never empty.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
no setteroverride
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