fromMap static method
Gets a possible WindowFeatures instance from a Map value.
Implementation
static WindowFeatures? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = WindowFeatures(
allowsResizing: map['allowsResizing'],
height: map['height'],
menuBarVisibility: map['menuBarVisibility'],
statusBarVisibility: map['statusBarVisibility'],
toolbarsVisibility: map['toolbarsVisibility'],
width: map['width'],
x: map['x'],
y: map['y'],
);
return instance;
}