AccessoryEvent class
A session event delivered from the native layer to Dart.
- Available extensions
Constructors
- AccessoryEvent({required AccessoryEventType type, Accessory? accessory, NativeError? error})
Properties
- accessory ↔ Accessory?
-
getter/setter pair
- dartDescription → String
-
Available on AccessoryEvent, provided by the AccessoryEventDartExtension extension
no setter - error ↔ NativeError?
-
getter/setter pair
- failure → NativeCodeError?
-
Available on AccessoryEvent, provided by the AccessoryEventDartExtension extension
The event's error, mapped to the library's single public error type (NativeCodeError), ornullwhen the event carries no error.no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ AccessoryEventType
-
getter/setter pair
Methods
-
encode(
) → Object -
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.
override
Static Methods
-
decode(
Object result) → AccessoryEvent