metro/live/live_discovery library

Classes

LiveAppDescriptor
A connected app as described by a daemon's ConnectedApp service, parsed from names like Kind: Flutter - Device: iPhone 17e - Package: my_app.
LiveDaemon
A Dart Tooling Daemon listed by dart tooling-daemon --list --machine.
LiveDiscovery
Finds the running apps of one project through the Dart Tooling Daemons that flutter run sessions and IDEs register them with.
LiveDiscoveryResult
The outcome of discovering running apps for a project.
LiveSkippedApp
An app that matched this project but couldn't be used.

Functions

listToolingDaemons() → Future<List<LiveDaemon>>
Lists running Dart Tooling Daemons with dart tooling-daemon --list.

Typedefs

LiveDaemonLister = Future<List<LiveDaemon>> Function()
Lists the running Dart Tooling Daemons.

Exceptions / Errors

LiveDiscoveryException
Thrown when the running Dart Tooling Daemons can't be listed.