onCharacteristicWritten property

Stream<OnCharacteristicWrittenEvent> get onCharacteristicWritten

Implementation

Stream<OnCharacteristicWrittenEvent> get onCharacteristicWritten {
  return FlutterBluePlus._methodStream.stream
      .where((m) => m.method == "OnCharacteristicWritten")
      .map((m) => m.arguments)
      .map((args) => BmCharacteristicData.fromMap(args))
      .map((p) => OnCharacteristicWrittenEvent(p));
}