chore(#65): apply dart format to satisfy CI format check

Reflow the systemDevices.map(...) chain after the .where() removal so
`dart format --set-exit-if-changed .` is clean. No behavior change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
pull/67/head observer-g2-rc3
Strycher 4 weeks ago
parent f9de8aee65
commit d1884aac71

@ -1458,23 +1458,22 @@ class MeshCoreConnector extends ChangeNotifier {
_systemScanResults
..clear()
..addAll(
systemDevices
.map(
(device) => ScanResult(
device: device,
advertisementData: AdvertisementData(
advName: device.platformName,
txPowerLevel: null,
appearance: null,
connectable: true,
manufacturerData: const <int, List<int>>{},
serviceData: const <Guid, List<int>>{},
serviceUuids: <Guid>[Guid(MeshCoreUuids.service)],
),
rssi: 0,
timeStamp: DateTime.now(),
),
systemDevices.map(
(device) => ScanResult(
device: device,
advertisementData: AdvertisementData(
advName: device.platformName,
txPowerLevel: null,
appearance: null,
connectable: true,
manufacturerData: const <int, List<int>>{},
serviceData: const <Guid, List<int>>{},
serviceUuids: <Guid>[Guid(MeshCoreUuids.service)],
),
rssi: 0,
timeStamp: DateTime.now(),
),
),
);
_mergeSystemScanResults();
notifyListeners();

Loading…
Cancel
Save

Powered by TurnKey Linux.