DeviceOption constructor

const DeviceOption({
  1. bool notify = false,
  2. bool alarm = false,
  3. String notifyChecked = '',
  4. String alarmChecked = '',
  5. DeviceBleConfig deviceBleConfig = const DeviceBleConfig(),
  6. DeviceOptionMessage notifyMessage = const DeviceOptionMessage(),
  7. DeviceOptionMessage alarmMessage = const DeviceOptionMessage(),
})

Implementation

const DeviceOption(
    {this.notify = false,
    this.alarm = false,
    this.notifyChecked = '',
    this.alarmChecked = '',
    this.deviceBleConfig = const DeviceBleConfig(),
    this.notifyMessage = const DeviceOptionMessage(),
    this.alarmMessage = const DeviceOptionMessage()});