characteristicsNotification static method

void characteristicsNotification({
  1. required HBleDeviceServicesCharacteristics characteristics,
  2. required bool enable,
})

Implementation

static void characteristicsNotification({required HBleDeviceServicesCharacteristics characteristics,required bool enable,}){
  Map data = {
    "identifier":characteristics.identifier,
    "servicesUuid":characteristics.servicesUuid,
    "characteristicsUuid":characteristics.characteristicsUuid,
    "enable":enable,
  };
  sent("characteristicsNotification",data);
}