Service.fromJson constructor

Service.fromJson(
  1. Map<String, dynamic> jsonObject,
  2. Peripheral peripheral,
  3. ManagerForService _manager
)

Implementation

Service.fromJson(
  Map<String, dynamic> jsonObject,
  Peripheral peripheral,
  this._manager,
)   : peripheral = peripheral,
      uuid = jsonObject[_ServiceMetadata.uuid],
      super(jsonObject[_ServiceMetadata.id]);