retry method

void retry()

Implementation

void retry() {
  if (!state.isError) return;
  add(state.arg ?? () as Arg);
}