setResolution method
Sets the resolution of the device.
Implementation
void setResolution({required int width, required int height}) {
set(3, width.toDouble());
set(4, height.toDouble());
}
Sets the resolution of the device.
void setResolution({required int width, required int height}) {
set(3, width.toDouble());
set(4, height.toDouble());
}