Payment constructor
const
Payment({
- required String id,
- required PaymentType paymentType,
- required int paymentTime,
- required int amountMsat,
- required int feeMsat,
- required PaymentStatus status,
- String? error,
- String? description,
- required PaymentDetails details,
- String? metadata,
Implementation
const Payment({
required this.id,
required this.paymentType,
required this.paymentTime,
required this.amountMsat,
required this.feeMsat,
required this.status,
this.error,
this.description,
required this.details,
this.metadata,
});