ConstrainPubspecVersions class
Properties
-
fs
→ FileSystem
-
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
logger
→ Logger
-
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyConstraintsTo(String content, {Iterable<String> additionalKeys = const [], VersionBump bump = VersionBump.breaking, Iterable<String> packages = const [], bool pin = false})
→ String?
-
-
constrain(String path, {bool includeDevDependencies = false, VersionBump bump = VersionBump.breaking, bool dryRun = false, Iterable<String> packages = const [], bool pin = false})
→ bool
-
-
constraint(dynamic name, dynamic version, {VersionBump bump = VersionBump.breaking, bool pin = false})
→ ({dynamic name, dynamic version})?
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited