emitLoading method

void emitLoading({
  1. double progress = 0.0,
})

Update the state of the form bloc to FormBlocLoading.

Implementation

void emitLoading({double progress = 0.0}) {
  emit(state.toLoading(
    progress: progress,
  ));
}