DataArrayView<Obj extends DataObject, Arr extends DataArray> constructor

DataArrayView<Obj extends DataObject, Arr extends DataArray>(
  1. Iterable<Object?> list, {
  2. bool isExposed = false,
})

Creates a data array view wrapping a source list.

If isExposed is true, then list can be exposed to side effects.

Implementation

DataArrayView(this.list, {this.isExposed = false});