Finalizer constructor - Finalizer - dart:core library (original) (raw)
Finalizer<T>(
- void callback(
- T
) )
- T
Creates a finalizer with the given finalization callback.
The callback
is bound to the current zone when the Finalizer is created, and will run in that zone when called.
Implementation
external factory Finalizer(void Function(T) callback);