moved reload actions out of error context
This commit is contained in:
@ -11,6 +11,7 @@ class LoadableState<TState> with _$LoadableState {
|
||||
const factory LoadableState({
|
||||
@Default(true) bool isLoading,
|
||||
@Default(null) TState? data,
|
||||
@Default(null) void Function()? reFetch,
|
||||
@Default(null) LoadingError? error,
|
||||
}) = _LoadableState;
|
||||
|
||||
|
Reference in New Issue
Block a user