togglePlayerOrientationPortrait method

void togglePlayerOrientationPortrait()

Toggle orientation for player.

Implementation

void togglePlayerOrientationPortrait() async {
  await _preferences.put(
      'player_orientation_portrait', !isPlayerOrientationPortrait);
}