Dependency class final
Data model for recording a dependency and its additional rows.
Params:
dependencyName - field stores the name and version of the dependency in string representation.
dependencyAdditionalLines - field stores all additional dependency strings.
Example:
dependencies:
http: #[dependencyName]
git: # |
url: https://example.com #↓
ref: main # [dependencyAdditionalLines]
Constructors
-
Dependency({required String dependencyName, required List<
String> dependencyAdditionalLines}) -
const
Properties
-
dependencyAdditionalLines
→ List<
String> -
final
- dependencyName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{List< String> ? dependencyAdditionalLines}) → Dependency -
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.
inherited