Called when list is overwritten. Implement in platform-specific subclass to write through to memory.
@override void onSet(List<E> value) { if (ptr == null || ptr!.address == 0) return; _arraySetter(ptr!, value); }