payOnchain method
See BreezServices::pay_onchain
Implementation
Future<PayOnchainResponse> payOnchain({required PayOnchainRequest req, dynamic hint}) {
var arg0 = _platform.api2wire_box_autoadd_pay_onchain_request(req);
return _platform.executeNormal(FlutterRustBridgeTask(
callFfi: (port_) => _platform.inner.wire_pay_onchain(port_, arg0),
parseSuccessData: _wire2api_pay_onchain_response,
parseErrorData: _wire2api_FrbAnyhowException,
constMeta: kPayOnchainConstMeta,
argValues: [req],
hint: hint,
));
}