addGroup<T> method
Add New Group of Changes and Clear Redo Stack
Implementation
void addGroup<T>(List<Change<T>> changes) {
try {
_applyChanges(changes);
_history.addLast(changes);
_moveForward();
} catch (e) {
rethrow;
}
}