connectLsp method

Future<void> connectLsp({
  1. required String lspId,
  2. dynamic hint,
})
override

See BreezServices::connect_lsp

Implementation

Future<void> connectLsp({required String lspId, dynamic hint}) {
  var arg0 = _platform.api2wire_String(lspId);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner.wire_connect_lsp(port_, arg0),
    parseSuccessData: _wire2api_unit,
    parseErrorData: _wire2api_FrbAnyhowException,
    constMeta: kConnectLspConstMeta,
    argValues: [lspId],
    hint: hint,
  ));
}