applyMap method
Implementation
Window applyMap(Map<dynamic, dynamic>? map) {
// apply the map to config and object
if (map == null) return this;
id = map["id"];
pixelRadio = map["pixelRadio"] ?? 1.0;
system = SystemConfig.fromMap(map["system"] ?? {});
config = WindowConfig.fromMap(map["config"]);
return this;
}