syncInto method

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

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

@override
void syncInto(RaylibTemp temp, Pointer<MeshC> p, String key)
  => writeInto(p.ref);