LoginState class
- Annotations
Constructors
- LoginState({@Default(FormzSubmissionStatus.initial) FormzSubmissionStatus statusOfSmsForm, @Default(FormzSubmissionStatus.initial) FormzSubmissionStatus statusOfPasswordForm, @Default(Phone.pure()) Phone phone, @Default(Password.pure()) Password password, @Default(Username.pure()) Username username, String? errorMessage})
-
factory
Properties
-
copyWith
→ $LoginStateCopyWith<
LoginState> -
Create a copy of LoginState
with the given fields replaced by the non-null parameter values.
no setterinherited
- errorMessage → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- password → Password
-
no setterinherited
- phone → Phone
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusOfPasswordForm → FormzSubmissionStatus
-
no setterinherited
- statusOfSmsForm → FormzSubmissionStatus
-
no setterinherited
- username → Username
-
no setterinherited
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