completeFlow method

void completeFlow()

Implementation

void completeFlow() {
  state = state.copyWith(shouldDismiss: true);

  if (_completion != null) {
    _completion?.call();
  }

  _onCompletedCallback?.call();
}