ReadonlySet<T> constructor
ReadonlySet<T> ({
- num? size,
- void forEach(
- void (
- dynamic,
- dynamic,
- ReadonlySet
- dynamic
- void (
- bool has(
- dynamic
- IterableIterator<
(dynamic, dynamic)> entries()?, - IterableIterator keys()?,
- IterableIterator values()?,
Implementation
factory ReadonlySet({
_i2.num? size,
void Function(
void Function(
_i2.dynamic,
_i2.dynamic,
_i6.ReadonlySet<_i2.dynamic>,
), [
_i2.dynamic,
])? forEach,
_i2.bool Function(_i2.dynamic)? has,
_i3.IterableIterator<
(
_i2.dynamic,
_i2.dynamic,
)>
Function()?
entries,
_i3.IterableIterator<_i2.dynamic> Function()? keys,
_i3.IterableIterator<_i2.dynamic> Function()? values,
}) =>
ReadonlySet._(
size: size,
forEach: forEach == null ? null : _i4.allowInterop(forEach),
has: has == null ? null : _i4.allowInterop(has),
entries: entries == null ? null : _i4.allowInterop(entries),
keys: keys == null ? null : _i4.allowInterop(keys),
values: values == null ? null : _i4.allowInterop(values),
);