IMapIterator<K, T> constructor
IMapIterator<K, T> ({
- IMapIterator? iterator,
- dynamic key,
- dynamic value,
- num? count,
- bool next()?,
- bool hasNext()?,
- KeyValuePair? first()?,
- void reset()?,
- bool any(
- bool ()
- bool all(
- bool ()
- IMapIterator each(
- void ()
- Iterator<
S> map<S>( - S ()
- Iterator<
KeyValuePair> filter(- bool ()
Implementation
factory IMapIterator({
_i3.IMapIterator<_i2.dynamic, _i2.dynamic>? iterator,
_i2.dynamic key,
_i2.dynamic value,
_i2.num? count,
_i2.bool Function()? next,
_i2.bool Function()? hasNext,
_i3.KeyValuePair<_i2.dynamic, _i2.dynamic>? Function()? first,
void Function()? reset,
_i2.bool Function(
_i2.bool Function(_i3.KeyValuePair<_i2.dynamic, _i2.dynamic>))?
any,
_i2.bool Function(
_i2.bool Function(_i3.KeyValuePair<_i2.dynamic, _i2.dynamic>))?
all,
_i3.IMapIterator<_i2.dynamic, _i2.dynamic> Function(
void Function(_i3.KeyValuePair<_i2.dynamic, _i2.dynamic>))?
each,
_i3.Iterator<S> Function<S>(
S Function(_i3.KeyValuePair<_i2.dynamic, _i2.dynamic>))?
map,
_i3.Iterator<_i3.KeyValuePair<_i2.dynamic, _i2.dynamic>> Function(
_i2.bool Function(_i3.KeyValuePair<_i2.dynamic, _i2.dynamic>))?
filter,
}) =>
IMapIterator._(
iterator: iterator ?? _i5.undefined,
key: key,
value: value,
count: count,
next: next == null ? null : _i4.allowInterop(next),
hasNext: hasNext == null ? null : _i4.allowInterop(hasNext),
first: first == null
? null
: _i4.allowInterop(() => () => first() ?? _i5.undefined),
reset: reset == null ? null : _i4.allowInterop(reset),
any: any == null ? null : _i4.allowInterop(any),
all: all == null ? null : _i4.allowInterop(all),
each: each == null ? null : _i4.allowInterop(each),
map: map == null ? null : _i4.allowInterop(map),
filter: filter == null ? null : _i4.allowInterop(filter),
);