hasGpu method

Future<bool> hasGpu()

Check if device has Vulkan GPU available for inference.

Implementation

Future<bool> hasGpu() async {
  final result = await _methodChannel.invokeMethod<bool>('hasGpu');
  return result ?? false;
}