fromMap static method

IOSWKWindowFeatures? fromMap(
  1. Map<String, dynamic>? map
)

Gets a possible IOSWKWindowFeatures instance from a Map value.

Implementation

static IOSWKWindowFeatures? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = IOSWKWindowFeatures(
    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;
}