checkOrientation method
Implementation
Future<ScreenOrientationTypes?> checkOrientation() async {
final res = await _channel.invokeMethod<String>('$_name/checkOrientation');
if (res == null) return null;
return ScreenOrientationTypesExtension.getType(res);
}