snapshot method
Returns a snapshot of the current discovery state.
Implementation
@override
Future<LocalDiscoverySnapshot> snapshot() async {
final now = DateTime.now();
return LocalDiscoverySnapshot(
sessionId: id,
devices: currentDevices,
services: currentDevices.expand((d) => d.services).toList(),
startedAt: now,
completedAt: now,
duration: Duration.zero,
);
}