CsafeCommandResponse class
Represents the response to one or many CSAFE commands
Constructors
-
CsafeCommandResponse(CsafeStatus status, List<
CsafeDataStructure> data) - CsafeCommandResponse.fromBytes(Uint8List bytes)
Properties
- byteLength → int
-
no setter
-
data
↔ List<
CsafeDataStructure> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ CsafeStatus
-
getter/setter pair
Methods
-
matches(
List< CsafeCommand> commands) → bool - Determines if this is a response to the given list of commands.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
separate(
) → Iterable< CsafeCommandResponse> - Splits this response up into multiple responses each containing a single data item.
-
toBytes(
) → Uint8List -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited