Update flutter bindings

This commit is contained in:
ok300
2024-05-15 09:41:06 +02:00
parent 8cfba8a247
commit 177127d376
9 changed files with 390 additions and 664 deletions

View File

@@ -12,19 +12,13 @@ part 'error.freezed.dart';
sealed class PaymentError with _$PaymentError implements FrbException {
const PaymentError._();
const factory PaymentError.amountOutOfRange() = PaymentError_AmountOutOfRange;
const factory PaymentError.invalidOrExpiredFees() =
PaymentError_InvalidOrExpiredFees;
const factory PaymentError.insufficientFunds() =
PaymentError_InsufficientFunds;
const factory PaymentError.alreadyClaimed() = PaymentError_AlreadyClaimed;
const factory PaymentError.refunded({
required String err,
required String txid,
}) = PaymentError_Refunded;
const factory PaymentError.amountOutOfRange() = PaymentError_AmountOutOfRange;
const factory PaymentError.generic({
required String err,
}) = PaymentError_Generic;
const factory PaymentError.invalidOrExpiredFees() = PaymentError_InvalidOrExpiredFees;
const factory PaymentError.insufficientFunds() = PaymentError_InsufficientFunds;
const factory PaymentError.invalidInvoice() = PaymentError_InvalidInvoice;
const factory PaymentError.invalidPreimage() = PaymentError_InvalidPreimage;
const factory PaymentError.lwkError({
@@ -32,6 +26,10 @@ sealed class PaymentError with _$PaymentError implements FrbException {
}) = PaymentError_LwkError;
const factory PaymentError.pairsNotFound() = PaymentError_PairsNotFound;
const factory PaymentError.persistError() = PaymentError_PersistError;
const factory PaymentError.refunded({
required String err,
required String txid,
}) = PaymentError_Refunded;
const factory PaymentError.sendError({
required String err,
}) = PaymentError_SendError;