lnurlWithdraw method

Future<LnUrlWithdrawResult> lnurlWithdraw({
  1. required LnUrlWithdrawRequest req,
  2. dynamic hint,
})
override

See BreezServices::lnurl_withdraw

Implementation

Future<LnUrlWithdrawResult> lnurlWithdraw({required LnUrlWithdrawRequest req, dynamic hint}) {
  var arg0 = _platform.api2wire_box_autoadd_ln_url_withdraw_request(req);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner.wire_lnurl_withdraw(port_, arg0),
    parseSuccessData: _wire2api_ln_url_withdraw_result,
    parseErrorData: _wire2api_FrbAnyhowException,
    constMeta: kLnurlWithdrawConstMeta,
    argValues: [req],
    hint: hint,
  ));
}