DataObjectView<Obj extends DataObject, Arr extends DataArray> constructor

const DataObjectView<Obj extends DataObject, Arr extends DataArray>(
  1. Map<String, Object?> map, {
  2. bool isExposed = false,
})

Creates a data object view wrapping a source map.

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

Implementation

const DataObjectView(this.map, {this.isExposed = false});