tabs property

Object get tabs

One or more tab indices to highlight.

Implementation

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

Implementation

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