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