UnionPointer<T extends Union> extension Null safety

Extension on Pointer specialized for the type argument Union.

on

Properties

ref → T
Creates a reference to access the fields of this union backed by native memory at address. [...]
read-only

Operators

operator [](int index) → T
Creates a reference to access the fields of this union backed by native memory at address + sizeOf<T>() * index. [...]