hardRemove method
Removes the first occurrence of the given value from the list and notifies listeners.
value: The element to remove.- Returns:
trueif the element was removed,falseotherwise.
Implementation
bool hardRemove(Object? value) {
final removeResult = this.value.remove(value);
notify();
return removeResult;
}