onEvent method

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

Implementation

Future<void> onEvent(DateTime timestamp, SendPort? sendPort) async {
  // This method is called periodically based on the interval setting
  // We use the streaming approach instead, so no additional action needed here
}