DartPackage class abstract

Dart package.

Implementers
Available extensions

Constructors

DartPackage.withContent(String content)
Dart package from a yaml content.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
pubspecYaml → Map<String, Object?>
Pubspec yaml content.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getVersion() → Version

Available on DartPackage, provided by the DartPackageExt extension

Get version from pubspec.yaml
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setVersion(Version version) → bool

Available on DartPackage, provided by the DartPackageExt extension

True if changed
toString() → String
A string representation of this object.
inherited

Operators

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