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