requestOrientation method

Future<void> requestOrientation({
  1. required ScreenOrientationTypes type,
})

Implementation

Future<void> requestOrientation({
  required ScreenOrientationTypes type,
}) async {
  await _channel.invokeMethod('$_name/requestOrientation', {
    'type': type.name,
  });
}