getBenchmarkInfo method

Future<BenchmarkInfo> getBenchmarkInfo()

Gets benchmark information from the conversation.

Implementation

Future<BenchmarkInfo> getBenchmarkInfo() {
  final handle = _handle;
  if (handle == null) {
    throw const LiteRtLmException('Conversation is already disposed.');
  }
  return LiteRtLmNativeRuntime.instance.getBenchmarkInfo(handle);
}