customer page

This commit is contained in:
efrilm
2025-10-26 22:57:22 +07:00
parent 5c683eda8d
commit 0bffd92a08
22 changed files with 3727 additions and 3 deletions
@@ -0,0 +1,12 @@
part of '../customer.dart';
@freezed
sealed class CustomerFailure with _$CustomerFailure {
const factory CustomerFailure.serverError(ApiFailure failure) = _ServerError;
const factory CustomerFailure.unexpectedError() = _UnexpectedError;
const factory CustomerFailure.empty() = _Empty;
const factory CustomerFailure.localStorageError(String erroMessage) =
_LocalStorageError;
const factory CustomerFailure.dynamicErrorMessage(String erroMessage) =
_DynamicErrorMessage;
}