PasswordStep class
Password input wizard step.
- Inheritance
-
- Object
- WizardStep
- PasswordStep
Constructors
- PasswordStep({required String key, required String prompt, ValidateFunc? validate, String? description})
-
Creates a password step.
const
Properties
- description → String?
-
Optional description displayed for this step.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
Unique key for this step (used to store answer).
finalinherited
- prompt → String
-
The prompt to display.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validate → ValidateFunc?
-
Validation function.
final
Methods
-
createModel(
Map< String, dynamic> answers) → Model -
Creates the model for this step.
override
-
extractAnswer(
Model model) → dynamic -
Extracts the answer from the model after completion.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldSkip(
Map< String, dynamic> answers) → bool -
Whether this step should be skipped based on previous answers.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited