onDescriptorRead property

Stream<OnDescriptorReadEvent> get onDescriptorRead

Implementation

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