code_utils/extensions/general_extension library
Extensions
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 oftimes
. -
run<
ReturnType> (ReturnType operation()) → ReturnType -
Calls the specified function
operation
withthis
value as its receiver and returns its result.