onEvent abstract method

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

Called when an event occurs.

Implementation

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