int lastIndexOf (Object? element, [int? start]) inherited
int lastIndexOf(Object? element, [int? start]) { if (start == null || start >= this.length) start = this.length - 1; // TODO(38493): The previous line should promote. if (start == null) throw "!"; for (int i = start; i >= 0; i--) { if (this[i] == element) return i; } return -1; }