code_utils/code_utils library
Classes
- CommonUtils
-
ListUtil<
T> -
Pair<
T, U> - Represents a generic pair of two values.
Extensions
- BooleanExtensions on bool?
- ContextExt on BuildContext
-
IterableExtensions
on Iterable<
T> ? -
PairExtensions
on Pair<
T, T> - ScopeFunctionsForObject on T
- StringExtension on String?
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.