handler property

Future<void> Function(dynamic payload) handler
final

The handler function that will be called when the event is fired.

Implementation

final Future<void> Function(dynamic payload) handler;