limitEnd method

List<T> limitEnd(
  1. int end
)

Extract only the elements to end of Iterable.

Iterableendまでの要素のみを抽出します。からの要素のみを抽出します。

final colors = <String>["red", "green", "blue", "orange", "pink"];
print(colors.limitEnd(3)); // [red, green, blue]

Implementation

List<T> limitEnd(int end) => limit(0, end);