getEvent method
Implementation
void getEvent(void Function(String s) callBack) async {
Timer(const Duration(seconds: 1), () => callBack('event1'));
Timer(const Duration(seconds: 2), () => callBack('event2'));
Timer(const Duration(seconds: 3), () => callBack('event3'));
}