ConditionalAction extension

on

Methods

conditionallyRunInAction(void fn(), Atom atom, {String? name, ActionController? actionController}) → void
Only run within an action if outside a batch fn is the function to execute. Optionally provide a debug-name.