fix: set PaymentDetails as mandatory, default to LiquidAddress (#474)

This commit is contained in:
yse
2024-09-09 13:00:22 +02:00
committed by GitHub
parent fc820176a1
commit 2dc3d57309
20 changed files with 161 additions and 295 deletions

View File

@@ -475,7 +475,7 @@ class Payment {
/// The details of a payment, depending on its [destination](Payment::destination) and
/// [type](Payment::payment_type)
final PaymentDetails? details;
final PaymentDetails details;
const Payment({
this.destination,
@@ -485,7 +485,7 @@ class Payment {
required this.feesSat,
required this.paymentType,
required this.status,
this.details,
required this.details,
});
@override