rotation property

int get rotation

The display's clockwise rotation in degrees relative to the vertical position. Currently exposed only on ChromeOS. Will be set to 0 on other platforms. A value of -1 will be interpreted as auto-rotate when the device is in a physical tablet state.

Implementation

int get rotation => _wrapped.rotation;
set rotation (int v)

Implementation

set rotation(int v) {
  _wrapped.rotation = v;
}