DeviceOption class

Constructors

DeviceOption({bool notify = false, bool alarm = false, String notifyChecked = '', String alarmChecked = '', DeviceBleConfig deviceBleConfig = const DeviceBleConfig(), DeviceOptionMessage notifyMessage = const DeviceOptionMessage(), DeviceOptionMessage alarmMessage = const DeviceOptionMessage()})
const
DeviceOption.fromJson(Map<String, dynamic> json)

Properties

alarm bool
final
alarmChecked String
final
alarmMessage DeviceOptionMessage
final
deviceBleConfig DeviceBleConfig
final
hashCode int
The hash code for this object.
no setterinherited
notify bool
final
notifyChecked String
final
notifyMessage DeviceOptionMessage
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getBleConfig(Map<String, dynamic> json) DeviceBleConfig