refFunc property
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;