add method Null safety

void add (
  1. E entry
)

Add entry to the end of the linked list.

Implementation

void add(E entry) {
  _insertBefore(_first, entry, updateFirst: false);
}