runIf method
void
runIf(
- void action(
- T wrapped
Runs action
if setIf has been called
Implementation
void runIf(void Function(T wrapped) action) {
final stack = Trace.current();
verbose(() => 'runIf $stack');
if (wrapped != null) {
action(wrapped as T);
}
}