ChangeRecords<RecordType extends ChangeRecord>.wrap constructor
const
ChangeRecords<RecordType extends ChangeRecord>.wrap (
- List<
RecordType> list
Wraps around a list of records.
Note: this wraps around a shallow copy of list
. If list
is modified,
then it is modified within this change record as well. This is provide a
const constructor for ChangeRecords.
Implementation
const ChangeRecords.wrap(List<RecordType> list) : this._(list, false);