onUnloadHooks property

List<Future<void> Function()> onUnloadHooks
final

The methods which must execute synchronously before playback of a source can end.

Implementation

final List<Future<void> Function()> onUnloadHooks = [];