onStart abstract method

Future<void> onStart(
  1. DateTime timestamp,
  2. SendPort? sendPort
)

Called when the task is started.

Implementation

Future<void> onStart(DateTime timestamp, SendPort? sendPort);