isSupported static method

Future<bool> isSupported()

True when the host platform implements the native camera at all.

Implementation

static Future<bool> isSupported() async {
  try {
    return await invoke<bool>("isSupported") ?? false;
  } catch (_) {
    return false;
  }
}