isDeviceOwner static method

Future<bool> isDeviceOwner()

Implementation

static Future<bool> isDeviceOwner() async {
  try {
    final result = await _channel.invokeMethod('isDeviceOwner');
    return result as bool;
  } catch (e) {
    return false;
  }
}