SpyListener typedef Null safety

SpyListener = void Function(SpyEvent event)

Implementation

typedef SpyListener = void Function(SpyEvent event);