onSet method

  1. @override
void onSet(
  1. List<E> value
)

Called when list is overwritten. Implement in platform-specific subclass to write through to memory.

Implementation

@override
void onSet(List<E> value) {
  if (ptr == null || ptr!.address == 0) return;
  _arraySetter(ptr!, value);
}