SdkPackageDependency class

SDK dependency as specified by https://dart.dev/tools/pub/dependencies

Inheritance
Annotations
  • @immutable
  • @FunctionalData()

Constructors

SdkPackageDependency({required String package, required String version, required String description, required DependencyType type})
Default constructor
const

Properties

description String
final
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
type DependencyType
final
version String
final

Methods

copyUsing(void mutator(SdkPackageDependency$Change change)) SdkPackageDependency
inherited
copyWith({String? package, String? version, String? description, DependencyType? type}) SdkPackageDependency
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