onNotificationSent function

dynamic Function(Map<Object?, Object?>?, int) onNotificationSent(
  1. dynamic onNotificationSent(
    1. BleDevice? device,
    2. int status
    )
)

Implementation

Function(Map<Object?, Object?>?, int) onNotificationSent(Function(BleDevice? device, int status) onNotificationSent) {
  return (serializedDevice, status) {
    onNotificationSent(
        DeSerializer.device(serializedDevice?.cast<String, dynamic>()),
        status
    );
  };
}