orientPortrait static method

Future<void> orientPortrait()

Change app orientation to Portrait mode

Implemetation :-

await SystemShortcuts.orientPortrait ( );

Implementation

static Future<void> orientPortrait() async {
  await _channel.invokeMethod('orientPortrait');
}