onBondStateChanged property

Stream<OnBondStateChangedEvent> onBondStateChanged

Implementation

Stream<OnBondStateChangedEvent> get onBondStateChanged {
  return FlutterBluePlus._methodStream.stream
      .where((m) => m.method == "OnBondStateChanged")
      .map((m) => m.arguments)
      .map((args) => BmBondStateResponse.fromMap(args))
      .map((p) => OnBondStateChangedEvent(p));
}