add method

void add(
  1. T item
)

Adds item to the end of the list.

Implementation

void add(T item) => value = [...value, item];