MultiSettings class
reads/writes to the pubrelease_multi.yaml file.
Holds settings information for a project including any package dependencies use by the 'multi' command.
Constructors
- MultiSettings.load({String? pathTo})
-
Load the pubrelease_multi.yaml into memory.
pathTo
is intended for aiding with unit testing by allowing the test to pass an alternate path. NormallypathTo
should not be passed as the file will be loaded from its default location. If you passpathTo
it must include the filename.
Properties
Methods
-
containsPackage(
String packageName) → bool -
getHighestVersion(
) → Version - When releasing we need to ensure that the version no. of any package is higher than the previously released package no. So we need to find the highest version no. from all of the packages.
-
hasDependencies(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- homeProjectPath ↔ String
-
getter/setter pair
- pathToYaml → String
-
latefinal
Static Methods
-
yamlExists(
) → bool