ArrayIndexing<T> extension
Null safety
- on
-
- List<
T>
- List<
Methods
-
fill(
dynamic value, {int start = 0, int? end}) → List -
fill elements of array with value from start up to, but not including, end.
@param
value
the value to fill the array with @paramstart
the start index @paramend
the end index -
findIndex(
Function predicate) → int -
findIndex Returns the index of the first element predicate returns truthy for.
@param
predicate
the function to determine equality