onDescriptorWritten property

Stream<OnDescriptorWrittenEvent> get onDescriptorWritten

Implementation

Stream<OnDescriptorWrittenEvent> get onDescriptorWritten {
  return FlutterBluePlus._methodStream.stream
      .where((m) => m.method == "OnDescriptorWritten")
      .map((m) => m.arguments)
      .map((args) => BmDescriptorData.fromMap(args))
      .map((p) => OnDescriptorWrittenEvent(p));
}