skip method
Implementation
void Function(T) skip(int count) {
assert (count >= 0);
int counter = count;
return (value) {
if (counter == 0) {
call(value);
} else {
counter--;
}
};
}
void Function(T) skip(int count) {
assert (count >= 0);
int counter = count;
return (value) {
if (counter == 0) {
call(value);
} else {
counter--;
}
};
}