handleTimeEvent method

void handleTimeEvent(
  1. MethodCall call
)

Implementation

void handleTimeEvent(MethodCall call) {
  Map<Object?, Object?> args = call.arguments as Map<Object?, Object?>;
  String eventName = args['eventName'] as String;
  time_event(eventName);
}