code_utils/extensions/extensions
library
Classes
-
Pair<T, U>
-
Represents a generic pair of two values.
Functions
-
iListOf<T>(Iterable<T> list)
→ IList<T>
-
To create list from Iterable
-
listOf<T>(Iterable<T> list)
→ List<T>
-
To create list from Iterable
-
repeat(int times, void action(int int))
→ dynamic
-
Executes the given function
action
specified number of times
.
-
run<ReturnType>(ReturnType operation())
→ ReturnType
-
Calls the specified function
operation
with this
value as its receiver and returns its result.