tabs property

Object get tabs

One or more tab indices to highlight.

Implementation

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

Implementation

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