loading state and error handling refactor
This commit is contained in:
@@ -6,6 +6,7 @@ part 'loading_error.freezed.dart';
|
||||
abstract class LoadingError with _$LoadingError {
|
||||
const factory LoadingError({
|
||||
required String message,
|
||||
String? technicalDetails,
|
||||
@Default(false) bool allowRetry,
|
||||
}) = _LoadingError;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user