notifyChangeWindowState method
Notifies of a new Change Volume event with the given new state.
@param newState One of these: WindowState.NORMAL, WindowState.FULL_SCREEN, WindowState.MINIMIZED or WindowState.MAXIMIZED @param labels Labels
Implementation
Future<void> notifyChangeWindowState(WindowState newState, [Map<String, String>? labels]) {
var args = buildArguments();
args[Args.labels] = labels;
args["newState"] = newState.value;
return _methodChannel.invokeMethod<void>('notifyChangeWindowState', args);
}