FinalizationRegistry<T> constructor

FinalizationRegistry<T>(
  1. void cleanupCallback(
    1. T
    )
)

Implementation

factory FinalizationRegistry(void Function(T) cleanupCallback) =>
    _i3.callConstructor(
      _declaredFinalizationRegistry,
      [_i3.allowInterop(cleanupCallback)],
    );