PubIoPackage class
Pub io package
Constructors
- PubIoPackage(String path, {PubIoPackageOptions? options})
- Pub io package
Properties
- dof → String
-
Dart or flutter
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFlutter ↔ bool
-
True for flutter project
latefinal
- isWorkspace → bool
-
True for workspace
no setter
- options → PubIoPackageOptions
-
Options
final
- path → String
-
Path
final
-
pubspecYaml
↔ Map<
String, Object?> -
Ok when ready
getter/setter pair
-
ready
→ Future<
Null> -
Ready (pubspec.yaml loaded)
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shell ↔ Shell
-
Shell
getter/setter pair
Methods
-
cachedOrGetPackageConfigMap(
) → Future< Map< String, Object?> > - Cached or get package config map
-
dumpDeps(
) → Future< void> - List dependencies
-
getResolvedDependencies(
) → Future< List< String> > - Get resolved dependency list
-
getResolvedPackagePath(
String package) → Future< String?> - Get resolved package path
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pubDowngrade(
) → Future< void> - Pub downgrade
-
pubGet(
) → Future< void> - Pub get
-
pubUpgrade(
) → Future< void> - Pub upgrade
-
readPackageConfigMap(
) → Future< Map< String, Object?> > - Read and cache package config map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited