setRotation abstract method Null safety
- OutputRotation rotation
Set the rotation of the output relative to the natural orientation of the device.
E.g. The natural orientation of a phone is typically portrait up.
Implementation
Future<void> setRotation(OutputRotation rotation);