DescriptorWithValue.fromJson constructor

DescriptorWithValue.fromJson(
  1. Map<String, dynamic> jsonObject,
  2. Characteristic characteristic,
  3. ManagerForDescriptor manager
)

Implementation

DescriptorWithValue.fromJson(
  Map<String, dynamic> jsonObject,
  Characteristic characteristic,
  ManagerForDescriptor manager,
) : value = base64Decode(jsonObject[_DescriptorMetadata.value]),
    super.fromJson(jsonObject, characteristic, manager);