I maxLength(int maxLength, {int Function(T a, T b)? priority}) => newInstance(iter.maxLength(maxLength, priority: priority));