ChangeRecords<RecordType extends ChangeRecord>.wrap constructor

const ChangeRecords<RecordType extends ChangeRecord>.wrap(
  1. 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);