cloneRemove<T> method

List<T> cloneRemove<T>(
  1. Object? value
)

Implementation

List<T> cloneRemove<T>(Object? value) {
  List<T> clone = [...this as List<T>];
  clone.remove(value);
  return clone;
}