onDestroy abstract method

Future<void> onDestroy(
  1. DateTime timestamp
)

Called when the task is destroyed.

Implementation

Future<void> onDestroy(DateTime timestamp);