SignInState class Null safety

State emitted by SignInBloc.

Contains the sign-in credentials and its status (FormzStatus).

Constructors

SignInState({FormzStatus status = FormzStatus.pure, StudentCode studentCode = const StudentCode.pure(), Password password = const Password.pure(), SignInFailure? error})
const

Properties

error SignInFailure?
In case the sig-in request failed, this contains the exception throwned.
final
hashCode → int
The hash code for this object.
read-only, inherited
password Password
final
props → List<Object>
The list of properties that will be used to determine whether two instances are equal.
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
status → FormzStatus
Status of the credentials and its submission.
final
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
read-only, inherited
studentCode StudentCode
final

Methods

copyWith({FormzStatus? status, StudentCode? studentCode, Password? password, SignInFailure? error}) SignInState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited