PubspecUtils class

Constructors

PubspecUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

extraFolder bool?
no setter
getPackageImport String
no setter
isServerProject bool
make sure it is a get_server project
no setter
nullSafeSupport bool
no setter
projectName String?
no setter
pubSpec → Pubspec
no setter
pubspecJson → dynamic
no setter
separatorFileType String?
no setter

Static Methods

addDependencies(String package, {String? version, bool isDev = false, bool runPubGet = true}) Future<bool>
containsPackage(String package, [bool isDev = false]) bool
removeDependencies(String package, {bool logger = true}) Future<void>