SendLoadingState<T extends Object?> class
Represents the loading state when a request is in progress in SendController.
- Inheritance
-
- Object
- BlocStates<
T> - SendStates<
T> - SendLoadingState
Constructors
- SendLoadingState({String message = '', T? data})
-
Create a SendLoadingState with an optional
message
anddata
.const
Properties
- data → T?
-
An optional object in state.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Status message indicating what's going on in this state.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
toJSON
→ Map<
String, dynamic> -
Encode BlocStates to json.
no setterinherited
- type → SendStateType
-
The type of the state, representing what type of state is this.
finalinherited
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