syncInto method

void syncInto(
  1. RaylibTemp temp,
  2. Pointer<C> p,
  3. String key
)

Syncs Dart-side fields into the already-allocated native pointer p.

Called by toC when originalPointer is set. The default implementation delegates to allocateInto; override only when sync and full allocation differ (e.g. to skip re-allocating nested pointers).

Implementation

void syncInto(RaylibTemp temp, Pointer<C> p, String key) => allocateInto(temp, p, key);