refFunc property

T Function(Pointer<T> ptr) refFunc
getter/setter pair

Returns the T struct value referenced by ptr.

Equivalent to ptr.ref, provided as a function because Dart's type system does not allow calling .ref directly on a generic Pointer<T>.

Implementation

T Function(Pointer<T> ptr) refFunc;