type property

ViewType? get type

The type of view to get. If omitted, returns all views (including background pages and tabs).

Implementation

ViewType? get type => _wrapped.type?.let(ViewType.fromJS);
set type (ViewType? v)

Implementation

set type(ViewType? v) {
  _wrapped.type = v?.toJS;
}