buttonEvents top-level property

Stream<String>? get buttonEvents

Implementation

Stream<String>? get buttonEvents {
  _buttonEvents ??= _buttonEventChannel
      .receiveBroadcastStream()
      .map((dynamic event) => getKeyEventName(event) ?? 'null');
  return _buttonEvents;
}