HostedDependency class final

name: ^1.2.0, from pub.dev (or url's repository).

Inheritance

Constructors

HostedDependency(String constraint, {String? url})
A dependency on constraint of a hosted package.
const

Properties

constraint → String
The version constraint, as written.
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → String?
The package repository, when not pub.dev.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toLines(String name, String indent) → List<String>
The YAML lines for name: at indent, each without a line ending.
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override