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 {
    await Isolate.run(() => stop(uuidPtr));
  } finally {
    calloc.free(uuidPtr);
  }
}