remove method
void
remove(
- T val
Removes the first occurence of the item
Implementation
void remove(T val) {
final index = value.indexWhere(
(element) => element == val,
);
removeAt(index);
}
Removes the first occurence of the item
void remove(T val) {
final index = value.indexWhere(
(element) => element == val,
);
removeAt(index);
}