add method Null safety

void add(
  1. E entry
)

Adds entry to the end of the linked list.

Implementation

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