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