FlutterDevice class

A Flutter device from flutter devices --machine.

Constructors

FlutterDevice({required String id, required String name, required String targetPlatform, required bool emulator})
const
FlutterDevice.fromJson(Map<String, dynamic> json)
factory

Properties

display → String
no setter
emulator → bool
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
isAndroid → bool
no setter
isIos → bool
no setter
isSupportedIntegrationTarget → bool
Phase 1 supports Android and iOS emulators, simulators, and physical devices.
no setter
isVirtual → bool
no setter
name → String
final
platform → String
android or ios. Throws for unsupported platforms.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetPlatform → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited