addAll method Null safety

void addAll()

Adds all messages

This results into 1:*.

Implementation

void addAll() {
  // 1:*
  final wasEmpty = isEmpty;
  _isAllAdded = true;
  if (wasEmpty) {
    _text = '1:*';
  } else {
    _text = null;
  }
}