CallbackHandle.fromRawHandle constructor

CallbackHandle.fromRawHandle(int _handle)

Create an instance using a raw callback handle.

Only values produced by a call to CallbackHandle.toRawHandle should be used, otherwise this object will be an invalid handle.

Implementation

CallbackHandle.fromRawHandle(this._handle)
    : assert(_handle != null, "'_handle' must not be null.");