Dart DocumentationutilsItemSome<T>

ItemSome<T> class

class ItemSome<T> extends ItemOption<T> {
 final List<T> _vs;
 ItemSome(this._vs);
 T operator[](int i) => _vs[i];
 operator[]=(int i, T v) => _vs[i] = v;
}

Extends

ItemOption<T> > ItemSome<T>

Constructors

new ItemSome(List<T> _vs) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
ItemSome(this._vs);

Operators

T operator [](int i) #

T operator[](int i) => _vs[i];

dynamic operator []=(int i, T v) #

operator[]=(int i, T v) => _vs[i] = v;