notify method

  1. @override
Future<void> notify(
  1. String characteristicUuid,
  2. List<int> value
)
override

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);
}