Driver class

A connected test driver.

Inheritance

Constructors

Driver({required Application app, required String appIdentifier, required String driverId, required String driverName, Duration? timeout})

Properties

app Application
finalinherited
appIdentifier String
The application identifier the driver knows how to drive.
final
driverId String
The unique identifier for the driver.
final
driverName String
The human readable display name for the driver.
final
hashCode int
The hash code for this object.
no setterinherited
lastPing DateTime
no setterinherited
logger → Logger
finalinherited
onCommandReceived Future<void> Function(DeviceCommand)
getter/setter pairinherited
online bool
no setterinherited
params Map<String, dynamic>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendTimeout Duration
finalinherited
timeout Duration
finalinherited

Methods

attachSocket(WebSocket? socket) → void
inherited
close() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendCommand(DeviceCommand command) Future<void>
inherited
toString() String
A string representation of this object.
override

Operators

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