int dynRankIn(List<String> list, String value) { final index = list.indexOf(value); return index < 0 ? list.length : index; }