List takeRightWhile(List list, dynamic predicate) => _takeWhile(list, predicate, start: list.length - 1, end: 0);