Characteristic.fromJson constructor
Characteristic.fromJson()
Implementation
Characteristic.fromJson(Map<String, dynamic> jsonObject, Service service,
ManagerForCharacteristic manager)
: _manager = manager,
service = service,
uuid = jsonObject[_CharacteristicMetadata.uuid],
isReadable = jsonObject[_CharacteristicMetadata.isReadable],
isWritableWithResponse =
jsonObject[_CharacteristicMetadata.isWritableWithResponse],
isWritableWithoutResponse =
jsonObject[_CharacteristicMetadata.isWritableWithoutResponse],
isNotifiable = jsonObject[_CharacteristicMetadata.isNotifiable],
isIndicatable = jsonObject[_CharacteristicMetadata.isIndicatable],
super(jsonObject[_CharacteristicMetadata.id]);