remove method

void remove(
  1. T valueToRemove
)

Implementation

void remove(T valueToRemove) {
  value = value.where((value) => value != valueToRemove).toList();
}