RoleOption class final
A command line option of a role, such as --start of the router.
Constructors
Properties
-
allowed
→ List<
String> ? -
The allowed values, or
nullto allow any; the values of a mode option, the default first.final - hashCode → int
-
The hash code for this object.
no setterinherited
- help → String
-
What the option does, for
--help.final - isMode → bool
-
Whether the option is a mode of the app, whose values each get apps in
the tests; see RoleOption.mode.
final
- name → String
-
The name of the option without dashes, in lower kebab-case, such as
start.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- valueHelp → String?
-
The placeholder of the value in
--help, such aspath.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