windowTypes property

List<WindowType>? get windowTypes

If set, the windows.Window returned is filtered based on its type. If unset, the default filter is set to ['normal', 'popup'].

Implementation

List<WindowType>? get windowTypes => _wrapped.windowTypes?.toDart
    .cast<$js.WindowType>()
    .map((e) => WindowType.fromJS(e))
    .toList();
set windowTypes (List<WindowType>? v)

Implementation

set windowTypes(List<WindowType>? v) {
  _wrapped.windowTypes = v?.toJSArray((e) => e.toJS);
}