WeakMap<K extends dynamic, V>.$2 constructor

WeakMap<K extends dynamic, V>.$2([
  1. List<(K, V)>? entries
])

Implementation

factory WeakMap.$2(
        [_i2.List<
                (
                  K,
                  V,
                )>?
            entries]) =>
    _i4.callConstructor(
      _declaredWeakMap,
      [
        entries
                ?.map((i) => [
                      i.$1,
                      i.$2,
                    ])
                .toList() ??
            _i5.undefined
      ],
    );