tabIds property

Object get tabIds

The tab ID or list of tab IDs to add to the specified group.

Implementation

Object get tabIds => _wrapped.tabIds.when(
      isInt: (v) => v,
      isArray: (v) =>
          v.toDart.cast<JSNumber>().map((e) => e.toDartInt).toList(),
    );
set tabIds (Object v)

Implementation

set tabIds(Object v) {
  _wrapped.tabIds = switch (v) {
    int() => v.toJS,
    List<int>() => v.toJSArray((e) => e.toJS),
    _ => throw UnsupportedError(
        'Received type: ${v.runtimeType}. Supported types are: int, List<int>')
  };
}