NativePointer class final

Opaque borrowed native address value used for backend interop handles.

The value does not own, retain, dereference, or validate the pointed-to object. Passing it to MapLibre Native transfers no ownership and grants the Dart binding no memory access.

Constructors

NativePointer(int address)
Creates an opaque borrowed pointer value from an address bit pattern.
const

Properties

address → int
Address bit pattern for this borrowed native pointer.
final
hashCode → int
The hash code for this object.
no setteroverride
isNull → bool
Returns true when this pointer represents a null backend handle.
no setter
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.
override

Operators

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

Constants

nullPointer → const NativePointer
Null native pointer value.