MidiWriteFailure class
A MIDI write that the transport could not deliver.
BLE transports keep sending after a failed write, since abandoning a SysEx mid-message would leave the peripheral parsing a truncated one. The failure is reported here so callers can retry or abort on their own terms.
Constructors
- MidiWriteFailure({required String deviceId, required Object error, StackTrace? stackTrace})
-
const
Properties
- deviceId → String
-
Transport-specific id of the device the write was addressed to.
final
- error → Object
-
The error the underlying stack reported.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited