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