TestDriver class

Constructors

TestDriver({required TestDeviceCommunicator? communicator, required TestController? testController})

Properties

communicator TestDeviceCommunicator?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state TestDriverState
no setter
testController TestController?
final

Methods

activate([ConnectionChangedCallback? onConnectionChanged]) → void
Activates the test driver, which will also activate the communicator.
deactivate() Future<void>
disconnectDriver() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerCustomCommandHandlers(Map<String, DeviceCommandHandler> handlers) → void
Registers custom command handlers. Commands with a type that matches the key in the custom handlers map will allow the
toString() String
A string representation of this object.
inherited

Operators

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