MessageOption class
One option of a message: how it is written and what it does.
Constructors
- MessageOption(String name, String explanation, {bool repoList = true, String? valueName})
-
const
Properties
- explanation → String
-
What it does and what follows from it: one or two lines (
\n).final - flag → String
-
--name.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The option's name without dashes (
merge-branch).final - repoList → bool
-
Whether it takes the repositories it acts on (
--skip core,basics); false for a run option (--ignore-active) and for valueName options.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- valueName → String?
-
The value an option takes instead of repositories
(
--skip-file <glob>); the value is given when the message is raised.final
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