Move dart & flutter packages to packages folder on root

This commit is contained in:
Erdem Yerebasmaz
2024-05-03 15:50:47 +03:00
parent cfc4a078c5
commit 5d966fc856
182 changed files with 48 additions and 828 deletions

View File

@@ -0,0 +1,33 @@
// This file is automatically generated, so please do not edit it.
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.32.
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
import 'frb_generated.dart';
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
import 'package:freezed_annotation/freezed_annotation.dart' hide protected;
part 'error.freezed.dart';
@freezed
sealed class PaymentError with _$PaymentError implements FrbException {
const PaymentError._();
const factory PaymentError.amountOutOfRange() = PaymentError_AmountOutOfRange;
const factory PaymentError.alreadyClaimed() = PaymentError_AlreadyClaimed;
const factory PaymentError.generic({
required String err,
}) = PaymentError_Generic;
const factory PaymentError.invalidInvoice() = PaymentError_InvalidInvoice;
const factory PaymentError.invalidPreimage() = PaymentError_InvalidPreimage;
const factory PaymentError.lwkError({
required String err,
}) = PaymentError_LwkError;
const factory PaymentError.pairsNotFound() = PaymentError_PairsNotFound;
const factory PaymentError.persistError() = PaymentError_PersistError;
const factory PaymentError.sendError({
required String err,
}) = PaymentError_SendError;
const factory PaymentError.signerError({
required String err,
}) = PaymentError_SignerError;
}