order page

This commit is contained in:
efrilm
2025-10-27 21:55:19 +07:00
parent b8eefcbac0
commit 8bd61eb58e
38 changed files with 8795 additions and 89 deletions
@@ -0,0 +1,12 @@
part of '../order.dart';
@freezed
sealed class OrderFailure with _$OrderFailure {
const factory OrderFailure.serverError(ApiFailure failure) = _ServerError;
const factory OrderFailure.unexpectedError() = _UnexpectedError;
const factory OrderFailure.empty() = _Empty;
const factory OrderFailure.localStorageError(String erroMessage) =
_LocalStorageError;
const factory OrderFailure.dynamicErrorMessage(String erroMessage) =
_DynamicErrorMessage;
}