Dependency class
Represents a dependency in a Flutter project.
This model stores the package name and whether it is actively used in the project.
Constructors
- Dependency.new({required String name, required bool isUsed})
-
Creates a Dependency instance with the given
name
andisUsed
status.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isUsed → bool
-
Indicates whether the dependency is actively used in the project.
final
- name → String
-
The name of the dependency as defined in
pubspec.yaml
.final - 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