ArgumentsModel class
DTO for holding launch command parameters.
The matcherState sets matcher configurations when set to true the merger will match yaml content before merging. when not specified it defaults is false.
The flavorName must match your app flavor name for retrieving the related yaml for the passed flavor. however, you can pass the optional flavorYamlPath parameter to override the flavorName and pass custom flavor yaml name and path.
The backupRequired sets backup configuration when set to false it will disable backup of main yaml file, when not specified it defaults is true.
Constructors
- ArgumentsModel({required bool matcherState, required String flavorName, required bool backupRequired, String? flavorYamlPath})
-
ArgumentsModel.parse(List<
String> arguments) -
factory
Properties
- backupRequired ↔ bool
-
latefinal
- flavorName ↔ String
-
latefinal
- flavorYamlPath ↔ String?
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- matcherState ↔ bool
-
latefinal
- 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