CallbackHandle class Null safety

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.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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