setMirrorMode method
NOTE: This is only available to ChromeOS Kiosk apps. Sets the display mode to the specified mirror mode. Each call resets the state from previous calls. Calling setDisplayProperties() will fail for the mirroring destination displays. |info|: The information of the mirror mode that should be applied to the display mode. |Returns|: Promise that resolves when the function finishes.
Implementation
Future<void> setMirrorMode(MirrorModeInfo info) async {
await $js.chrome.system.display.setMirrorMode(info.toJS).toDart;
}