remove method

void remove(
  1. T item
)

Removes an item from the list.

Implementation

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