MakeInvoiceRequest constructor

const MakeInvoiceRequest({
  1. required dynamic amountMsat,
  2. String? description,
  3. String? descriptionHash,
  4. int? expiry,
})

Implementation

const MakeInvoiceRequest({
  required amountMsat,
  this.description,
  this.descriptionHash,
  this.expiry,
})  : amountSat = amountMsat ~/ 1000,
      super(method: NwcMethod.MAKE_INVOICE);