onRelease property

(Future<void> Function()?) onRelease
final

The function to release the resources.

Implementation

final Future<void> Function()? onRelease;