listPayments method

Future<List<Payment>> listPayments({
  1. required ListPaymentsRequest req,
  2. dynamic hint,
})
override

See BreezServices::list_payments

Implementation

Future<List<Payment>> listPayments({required ListPaymentsRequest req, dynamic hint}) {
  var arg0 = _platform.api2wire_box_autoadd_list_payments_request(req);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner.wire_list_payments(port_, arg0),
    parseSuccessData: _wire2api_list_payment,
    parseErrorData: _wire2api_FrbAnyhowException,
    constMeta: kListPaymentsConstMeta,
    argValues: [req],
    hint: hint,
  ));
}