toggle method

void toggle()

Implementation

void toggle() {
  if (_isReady?.call() == true) _toggle?.call();
}