disconnect method

Future<void> disconnect({
  1. dynamic hint,
})
override

Cleanup node resources and stop the signer.

Implementation

Future<void> disconnect({dynamic hint}) {
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner.wire_disconnect(port_),
    parseSuccessData: _wire2api_unit,
    parseErrorData: _wire2api_FrbAnyhowException,
    constMeta: kDisconnectConstMeta,
    argValues: [],
    hint: hint,
  ));
}