SplitRefundBloc constructor
SplitRefundBloc({
- required SplitPaymentApiClient apiClient,
- required String splitId,
- required String transactionId,
- required String businessId,
Implementation
SplitRefundBloc({
required this.apiClient,
required this.splitId,
required this.transactionId,
required this.businessId,
}) : super(const SplitRefundLoading()) {
on<FetchRefundState>(_onFetchRefundState);
on<RefundProcessed>(_onRefundProcessed);
on<RefundRecordSucceeded>(_onRefundRecordSucceeded);
on<RefundRecordFailed>(_onRefundRecordFailed);
on<RefundPaymentFailed>(_onRefundPaymentFailed);
on<RefundCompleted>(_onRefundCompleted);
}