NmCommandParameter class
Command parameter.
Constructors
- NmCommandParameter({required String key, required String label, required NmCommandParameterType type, bool required = true, bool secret = false})
-
Creates a NmCommandParameter.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- key → String
-
Placeholder name used in templates (
{key}).final - label → String
-
Label of the input field.
final
- required → bool
-
The command cannot run without it.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret → bool
-
Masked in the UI and logs.
final
- type → NmCommandParameterType
-
Kind of value, for input and validation.
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.
override