backToForm method

void backToForm()

Return to the form from review (the Back / Edit action). A no-op mid-flight (a transient state) so a stray tap can't abandon an in-flight quote/execute.

Implementation

void backToForm() {
  if (state is SwapQuoting || state is SwapExecuting) return;
  _set(const SwapFormState());
}