CallbackHandle class

A wrapper for a raw callback handle.

This is the return type for PluginUtilities.getCallbackHandle.

Constructors

CallbackHandle.fromRawHandle(int _handle)
Create an instance using a raw callback handle.

Properties

hashCode int
The hash code for this object.
no setteroverride
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
toRawHandle() int
Get the raw callback handle to pass over a MethodChannel or SendPort (to pass to another Isolate).
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override