getIsDual static method

Future<bool> getIsDual()

Implementation

static Future<bool> getIsDual() async {
  if (!_isAndroid) return false;
  final isDual =
      await _methodChannel.invokeMethod<bool>('isDualScreenDevice');
  return isDual ?? false;
}