Session class
Represents a connected session between a device driver and a device.
Constructors
-
Session({required Device device, required Driver driver, Logger? logger, required Future<
void> onClose()}) -
Constructs the session with the device to be controlled, the driver
performing the controlling actions, an optional
logger
that will be used for log events (instead of the unique class level loger if not set).
Properties
Methods
-
close(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited