add method Null safety

  1. @override
void add(
  1. E item
)
override

Adds value to the end of this list, extending the length by one.

The list must be growable.

Implementation

@override
void add(E item) {
  _value.add(item);
  refresh();
}