Callback<T extends NativeType> class
Use this class to register a callback for a specific callback
Constructors
Properties
-
cb
↔ void Function(Pointer<
T> data) -
callback function to be called after the
T
event occuredlatefinal - hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int
-
callback id of the type
T
latefinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCb(
{required Pointer< UnsignedChar> data}) → void -
When the event occurs,
Dispatcher
calls this function to call your passed cb -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited