itemFw method
Implementation
Fw<V> itemFw(
int index, {
V? defaultValue,
}) {
return frw(
map((list) {
if (index >= list.length) {
return defaultValue ?? (throw 'itemFw defaultValue is null');
}
return list[index];
}),
(value) {
update((list) {
if (index >= list.length) return;
list[index] = value;
});
},
);
}