FastAppOnboardingBlocState class
The FastAppOnboardingBlocState class is the state of the FastAppOnboardingBloc.
It contains the current onboarding state of the application.
- Inheritance
-
- Object
- TModel
- BlocState
- FastAppOnboardingBlocState
Constructors
- FastAppOnboardingBlocState.new({bool isInitializing = false, bool isInitialized = false, int? currentStepIndex, bool? isCompleted})
- Constructs a FastAppOnboardingBlocState with the provided parameters.
Properties
- currentStepIndex → int
-
The index of the current onboarding step.
final
- error → dynamic
-
Whether the bloc has an error.
finalinherited
- hasError → bool
-
Indicates whether the bloc has an error.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBusy → bool
-
Whether the bloc is busy.
finalinherited
- isCompleted → bool
-
Indicates whether the onboarding process has been completed.
final
- isInitialized → bool
-
Whether the bloc is initialized.
finalinherited
- isInitializing → bool
-
Whether the bloc is initializing.
finalinherited
-
props
→ List<
Object?> -
Returns a list of properties used to determine equality between instances.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - uuid → String
-
The unique identifier of the bloc state.
finalinherited
Methods
-
assignValue<
T> (T? value, {T? defaultValue, bool loose = true}) → T? -
inherited
-
clone(
) → FastAppOnboardingBlocState -
Creates a new FastAppOnboardingBlocState instance with the same property
values as the current instance.
override
-
copyWith(
{bool? isInitializing, bool? isInitialized, int? currentStepIndex, bool? isCompleted}) → FastAppOnboardingBlocState -
Creates a new FastAppOnboardingBlocState instance with updated
properties.
override
-
copyWithDefaults(
) → TModel -
inherited
-
merge(
covariant FastAppOnboardingBlocState model) → FastAppOnboardingBlocState -
Merges the properties of the provided
model
into a new FastAppOnboardingBlocState instance.override -
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