onNameChanged property

Stream<OnNameChangedEvent> get onNameChanged

Implementation

Stream<OnNameChangedEvent> get onNameChanged {
  return FlutterBluePlus._methodStream.stream
      .where((m) => m.method == "OnNameChanged")
      .map((m) => m.arguments)
      .map((args) => BmBluetoothDevice.fromMap(args))
      .map((p) => OnNameChangedEvent(p));
}