PackageManifest class
Structured representation of a Dart package's pubspec.yaml manifest.
Constructors
Properties
-
dependencies
→ Map<
String, Object?> -
Direct dependencies (name → version constraint or path).
final
- description → String
-
Package description from pubspec.yaml.
final
-
devDependencies
→ Map<
String, Object?> -
Dev dependencies.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Package name from pubspec.yaml.
final
-
resolvedVersions
→ Map<
String, String> -
Exact resolved versions from
pubspec.lock(packageName → version). Empty if no lock file was found.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- version → String
-
Package version from pubspec.yaml (e.g. '1.0.0').
final
Methods
-
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