CommandResponse class
A class representing the response of a command sent to a device.
Constructors
- CommandResponse(String response, bool succeeded)
- Constructs a CommandResponse with a response message and a success flag.
- CommandResponse.failed(String message)
-
Creates a CommandResponse representing a failure.
factory
- CommandResponse.succeeded()
-
Creates a CommandResponse representing a success.
factory
Properties
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