EventHandler typedef Null safety

EventHandler = void Function(String? res)

Implementation

typedef EventHandler = void Function(String? res);