Skip to content
Snippets Groups Projects
Commit 532bcd50 authored by vjrj's avatar vjrj
Browse files

Added not send method

parent 4b602d9a
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,10 @@ class PaymentCubit extends HydratedCubit<PaymentState> { ...@@ -35,6 +35,10 @@ class PaymentCubit extends HydratedCubit<PaymentState> {
emit(state.copyWith(status: PaymentStatus.isSent)); emit(state.copyWith(status: PaymentStatus.isSent));
} }
void notSent() {
emit(state.copyWith(status: PaymentStatus.notSent));
}
void sentFailed() { void sentFailed() {
emit(state.copyWith(status: PaymentStatus.notSent)); emit(state.copyWith(status: PaymentStatus.notSent));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment