GitPackageDependencySpec class

Dependency on a package stored in a Git repository (https://dart.dev/tools/pub/dependencies)

Inheritance
Annotations
  • @immutable
  • @FunctionalData()

Constructors

GitPackageDependencySpec({required String package, required String url, Optional<String> ref = const Optional.none(), Optional<String> path = const Optional.none()})
Default constructor
const

Properties

hashCode int
The hash code for this object.
no setterinherited
package String
final
path → Optional<String>
final
ref → Optional<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
final

Methods

copyUsing(void mutator(GitPackageDependencySpec$Change change)) GitPackageDependencySpec
inherited
copyWith({String? package, String? url, Optional<String>? ref, Optional<String>? path}) GitPackageDependencySpec
inherited
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