StatusDataExtension<T, S> extension

Extension methods for the GetStatus class.

on

Properties

data → T?
Gets the data associated with the status if it is a success status.
no setter
errorMessage String
Gets the error message associated with the status.
no setter
isCustom bool
Checks if the status is a custom status.
no setter
isEmpty bool
Checks if the status indicates that the state is empty.
no setter
isError bool
Checks if the status indicates that the state has encountered an error.
no setter
isLoading bool
Checks if the status indicates that the state is loading.
no setter
isSuccess bool
Checks if the status indicates that the state is successful.
no setter