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