Handle class abstract final

Represents Dart_Handle from dart_api.h in C.

Handle is not constructible in the Dart code and serves purely as marker in type signatures.

If Handle is part of the native signature of a Native external function or NativeFunctionPointer.asFunction, an API handle scope is created for the duration of the FFI call. For more information on API scopes, refer to the documentation on Dart_EnterScope in dart_api.h.

Implemented types
Annotations
  • @Since('2.9')

Constructors

Handle()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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