ref property Null safety
A Dart view of the struct referenced by this pointer.
Reading ref creates a reference accessing the fields of this struct backed by native memory at address. The address must be aligned according to the struct alignment rules of the platform.
Assigning to ref copies contents of the struct into the native memory starting at address.
This extension method must be invoked on a receiver of type Pointer<T>
where T
is a compile-time constant type.
Implementation
external T get ref;
Implementation
external set ref(T value);