HTMLCollectionBase constructor

HTMLCollectionBase({
  1. num? length,
  2. Element? item(
    1. num
    )?,
})

Implementation

factory HTMLCollectionBase({
  _i2.num? length,
  _i3.Element? Function(_i2.num)? item,
}) =>
    HTMLCollectionBase._(
      length: length,
      item: item == null
          ? null
          : _i4.allowInterop((p0) => () => item(p0) ?? _i6.undefined),
    );