menu
sunny_dart package
documentation
helpers/lists.dart
createIf<T> function
createIf<T> function
dark_mode
light_mode
createIf<
T
>
function
T?
createIf
<
T
>(
bool
condition
,
Factory
<
T
>
factory
)
Implementation
T? createIf<T>(bool condition, Factory<T> factory) => condition ? factory() : null;
sunny_dart package
documentation
helpers/lists
createIf<T> function
lists library