LNInvoice constructor

const LNInvoice({
  1. required String bolt11,
  2. required Network network,
  3. required String payeePubkey,
  4. required String paymentHash,
  5. String? description,
  6. String? descriptionHash,
  7. int? amountMsat,
  8. required int timestamp,
  9. required int expiry,
  10. required List<RouteHint> routingHints,
  11. required Uint8List paymentSecret,
  12. required int minFinalCltvExpiryDelta,
})

Implementation

const LNInvoice({
  required this.bolt11,
  required this.network,
  required this.payeePubkey,
  required this.paymentHash,
  this.description,
  this.descriptionHash,
  this.amountMsat,
  required this.timestamp,
  required this.expiry,
  required this.routingHints,
  required this.paymentSecret,
  required this.minFinalCltvExpiryDelta,
});