stopAsync method

Future<void> stopAsync(
  1. String uuid
)

Implementation

Future<void> stopAsync(String uuid) async {
  final uuidPtr = StringUtf8Pointer(uuid).toNativeUtf8();
  final _stop = _stopPtr.asFunction<_StopDart>();

  try {
    _getTransferResponseData(await Isolate.run(() => _stop(uuidPtr)));
  } finally {
    calloc.free(uuidPtr);
  }
}