BleCharacteristic.fromJson constructor

BleCharacteristic.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BleCharacteristic.fromJson(Map<String, dynamic> json) =>
    BleCharacteristic(
      uuid: WinHelper.fromWindowsUuid(json["uuid"]),
      properties: json["properties"] != null
          ? Properties.fromJson(json["properties"])
          : Properties(),
    );