onDisposed property
Listenable
get
onDisposed
Called when the native code is done with the item and the data is no longer needed. Only guaranteed to be called if onRegistered has been called before.
Implementation
Listenable get onDisposed => _onDisposed;