writeCountIf method

List<E> writeCountIf(
  1. MemoryPointer<RType>? p,
  2. List<E> fallback
)

Implementation

List<E> writeCountIf(MemoryPointer? p, List<E> fallback) {
  if (p == null) return fallback;
  final ref = codec.deref(p.offsetBy(offset));
  _innerArray().writeArray(ref, fallback);
  return fallback;
}