addAll method

  1. @override
S addAll(
  1. Iterable<E> events
)
override

Implementation

@override
S addAll(Iterable<E> events) {
  final b = snapshot.toBuilder();
  for (final e in events) {
    _eventList.add(_EventListNode<E>(e));
    e.applyTo(b);
  }
  return _snapshot = b.build();
}