Descriptor.fromJson constructor

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

Implementation

Descriptor.fromJson(
  Map<String, dynamic> jsonObject,
  Characteristic characteristic,
  ManagerForDescriptor manager,
) : _manager = manager,
    characteristic = characteristic,
    uuid = jsonObject[_DescriptorMetadata.uuid],
    super(jsonObject[_DescriptorMetadata.id]);