menu
utopia_hooks package
documentation
utopia_hooks.dart
AnyExtensions<T>
takeIf method
takeIf method
dark_mode
light_mode
takeIf
method
T?
takeIf
(
bool
block
(
T
it
)
)
Implementation
T? takeIf(bool Function(T it) block) => block(this) ? this : null;
utopia_hooks package
documentation
utopia_hooks
AnyExtensions<T>
takeIf method
AnyExtensions extension on T