payment method

This commit is contained in:
efrilm
2025-10-27 14:24:29 +07:00
parent 3135dde317
commit 9e5a6cc7ae
22 changed files with 3058 additions and 2 deletions
@@ -0,0 +1,13 @@
part of '../payment_method.dart';
@freezed
sealed class PaymentMethodFailure with _$PaymentMethodFailure {
const factory PaymentMethodFailure.serverError(ApiFailure failure) =
_ServerError;
const factory PaymentMethodFailure.unexpectedError() = _UnexpectedError;
const factory PaymentMethodFailure.empty() = _Empty;
const factory PaymentMethodFailure.localStorageError(String erroMessage) =
_LocalStorageError;
const factory PaymentMethodFailure.dynamicErrorMessage(String erroMessage) =
_DynamicErrorMessage;
}