move method
Returns a ListMove used to move elements from this list to other collections.
final foo = [1, 2, 3, 4, 5];
final bar = foo.move(where: (e) => e.isEven).toList();
print(foo); // [1, 3, 5]
print(bar); // [2, 4]
Implementation
@lazy @useResult ListMove<E> move({required Predicate<E> where}) => ListMove(this, where);