cancel method

Future<void> cancel()

Implementation

Future<void> cancel() async {
  final handle = _handle;
  if (handle != null) {
    LiteRtLmNativeRuntime.instance.cancelConversation(handle);
  }
}