notify method
Implementation
@override
Future<void> notify(String characteristicUuid, List<int> value) async {
if (activeProfile == null) throw StateError('Not running');
final event = <String, Object>{
'uuid': characteristicUuid,
'value': List<int>.of(value),
};
notifications.add(event);
_notificationEvents.add(event);
}