$R splice(int index, int removeCount, [Iterable<$T>? toInsert]) => _then([ ..._value.take(index), if (toInsert != null) ...toInsert, ..._value.skip(index + removeCount), ]);