ESenseButton.fromButtonEventChanged constructor

ESenseButton.fromButtonEventChanged(
  1. String deviceName,
  2. ButtonEventChanged event
)

Implementation

factory ESenseButton.fromButtonEventChanged(
        String deviceName, ButtonEventChanged event) =>
    ESenseButton(deviceName: '', pressed: event.pressed);