partition method
Return a record containing the values of this Iterable
for which test
is false
in the first element,
and the values for which it is true
in the second element.
Implementation
(Iterable<T>, Iterable<T>) partition(bool Function(T t) test) =>
(where(test.negate), where(test));