syncWindows method
sync make the plugin to sync windows from services
Implementation
Future<bool> syncWindows() async {
var _ws = await _channel.invokeListMethod("plugin.sync_windows");
_ws?.forEach((e) {
var w = Window.fromMap(e);
_windows[w.id] = w;
});
return true;
}