add method
void
add(
- T toAdd
Adds value to the end of this list, extending the length by one.
The list must be growable.
Notifies listeners afterwards.
Implementation
void add(T toAdd) => update(() => _list.add(toAdd));