ifFalse method
void
ifFalse(
- void action()
Runs action only when the value is false.
Example:
isLoading.ifFalse(() => showContent());
Implementation
void ifFalse(void Function() action) {
if (!this) {
action();
}
}