onEvent property

void Function(HardwareEvent)? onEvent
final

Implementation

final void Function(HardwareEvent)? onEvent;