Package class

Constructors

Package({required Directory directory, required Pubspec pubspec, required String name, required Version currentVersion, required Version originalVersion})
const

Properties

buildNumber int?
no setter
buildNumberString String
no setter
currentVersion → Version
final
directory Directory
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
nextBuildNumber → Version?
no setter
originalVersion → Version
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Version? version}) Package
hasDependency(String name) bool
hasDevDependency(String name) bool
hasProdDependency(String name) bool
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