removeAt method
- int index
Implementation
Job removeAt(int index) {
assert(index < _jobStack.length && index >= 0,
"JobStack::removeAt($index) failed, out of range >:(");
Job res = _jobStack.removeAt(index);
if (listKey.currentState == null) {
logger.warning("JobStack::ListKey.CurrentState is NULL (when it shouldn't be)");
} else {
listKey.currentState!.removeItem(
index,
(BuildContext context, Animation<double> animation) =>
removeItemBuilder(res, context, animation));
}
return res;
}