StatusDataExtension<T, S> extension

Extension methods for the GetStatus class.

on

Properties

data → T?

Available on GetStatus<T>, provided by the StatusDataExtension extension

Gets the data associated with the status if it is a success status.
no setter
error → dynamic

Available on GetStatus<T>, provided by the StatusDataExtension extension

no setter
errorMessage String

Available on GetStatus<T>, provided by the StatusDataExtension extension

Gets the error message associated with the status.
no setter
isCustom bool

Available on GetStatus<T>, provided by the StatusDataExtension extension

Checks if the status is a custom status.
no setter
isEmpty bool

Available on GetStatus<T>, provided by the StatusDataExtension extension

Checks if the status indicates that the state is empty.
no setter
isError bool

Available on GetStatus<T>, provided by the StatusDataExtension extension

Checks if the status indicates that the state has encountered an error.
no setter
isLoading bool

Available on GetStatus<T>, provided by the StatusDataExtension extension

Checks if the status indicates that the state is loading.
no setter
isSuccess bool

Available on GetStatus<T>, provided by the StatusDataExtension extension

Checks if the status indicates that the state is successful.
no setter