menu
mno_commons package
documentation
utils/take.dart
Take<T>
takeIf method
takeIf method
dark_mode
light_mode
takeIf
method
T?
takeIf
(
bool
predicate
(
T
)
)
Implementation
T? takeIf(bool Function(T) predicate) => (predicate(this)) ? this : null;
mno_commons package
documentation
utils/take
Take<T>
takeIf method
Take extension on T