payment method
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user