core/commands/devices/devices_models library

Classes

DevicesFlutterFailed
flutter devices --machine exited with a non-zero code.
DevicesListed
At least one device was found; skippedRaw holds any entries that were missing required fields (id / name / targetPlatform).
DevicesNotFound
No JSON array was found in the output, or the device list was empty.
DevicesParseFailed
The JSON array could not be decoded.
DevicesResult
Result of a listDevices invocation.

Typedefs

DeviceInfo = ({bool emulator, String id, String name, String platform})
A single connected device entry returned by flutter devices --machine.
DevicesInput = ({ProcessRunner processRunner, String projectPath})
Input parameters for listDevices.
ProcessRunner = Future<ProcessResult> Function(String executable, List<String> arguments)