live method
Implementation
StructLiveList<D, RStruct> live({List<D>? initial, bool owned = true}) => .live(
() => ptr,
readAt: (_, i) => owned ? this.owned(i) : this[i],
writeAt: (_, i, v) => this[i] = v,
initial: initial ?? [],
);
StructLiveList<D, RStruct> live({List<D>? initial, bool owned = true}) => .live(
() => ptr,
readAt: (_, i) => owned ? this.owned(i) : this[i],
writeAt: (_, i, v) => this[i] = v,
initial: initial ?? [],
);