Dependency class
- Implemented types
Constructors
- Dependency(String name, String versionConstraint, bool isDevDependency)
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- includesLatest ↔ bool?
-
Also true if there is a pre-release version after the latest version
getter/setter pair
- isDevDependency → bool
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- versionConstraint → VersionConstraint
-
final
Methods
-
compareTo(
Dependency other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
getDependencies(
Pubspec pubspec, {bool includeDevDependencies = true}) → Set< Dependency>