moved reload actions out of error context
This commit is contained in:
@ -6,7 +6,6 @@ part 'loading_error.freezed.dart';
|
||||
class LoadingError with _$LoadingError {
|
||||
const factory LoadingError({
|
||||
required String message,
|
||||
@Default(false) bool enableRetry,
|
||||
@Default(null) void Function()? retry,
|
||||
@Default(false) bool allowRetry,
|
||||
}) = _LoadingError;
|
||||
}
|
||||
|
Reference in New Issue
Block a user