HBleDevice.fromMap constructor

HBleDevice.fromMap(
  1. Map mapData
)

Implementation

HBleDevice.fromMap(Map mapData){
  rssi = mapData["rssi"];
  identifier = mapData["identifier"].toString();
  name = mapData["name"].toString();
  isConnect = mapData["isConnect"];
  createTime = mapData["createTime"];
  bytes = mapData["bytes"];
  String? _advertisement = mapData["advertisementData"];

  advertisementData = toUint8List(_advertisement);

}