add method

void add(
  1. T item
)

Implementation

void add(T item) {
  final temp = List<T>.from(value);
  temp.add(item);
  value = temp;
}