GetStatus<T> class abstract

Represents the status of an asynchronous operation, such as loading, error, empty, success, or custom.

Mixed-in types
Implementers
Available extensions

Constructors

GetStatus()
const
GetStatus.custom()
Creates a custom status.
factory
GetStatus.empty()
Creates an empty status.
factory
GetStatus.error(String message)
Creates an error status with the given error message.
factory
GetStatus.loading()
Creates a loading status.
factory
GetStatus.success(T data)
Creates a success status with the provided data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
props List
The list of properties used for determining equality.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
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