MultiPayKeysendRequestInvoicesElement constructor

const MultiPayKeysendRequestInvoicesElement({
  1. required String pubkey,
  2. required dynamic amountMsat,
  3. String? preimage,
  4. List<TlvRecord>? tlvRecords,
})

Implementation

const MultiPayKeysendRequestInvoicesElement({
  required this.pubkey,
  required amountMsat,
  this.preimage,
  this.tlvRecords,
}) : amountSat = amountMsat ~/ 1000;