SdkPackageDependencySpec class

Package coming from an SDK (https://dart.dev/tools/pub/dependencies)

Inheritance
Annotations
  • @immutable
  • @FunctionalData()

Constructors

SdkPackageDependencySpec({required String package, required String sdk, Optional<String> version = const Optional.none()})
Default constructor
const

Properties

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

Methods

copyUsing(void mutator(SdkPackageDependencySpec$Change change)) SdkPackageDependencySpec
inherited
copyWith({String? package, String? sdk, Optional<String>? version}) SdkPackageDependencySpec
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