some fix
# Conflicts: # lib/presentation/navigation/app_router.dart # pubspec.yaml
This commit is contained in:
@@ -1,29 +1,29 @@
|
||||
import '../../domain/entities/payment_card.dart';
|
||||
|
||||
sealed class PaymentConfirmEvent {}
|
||||
|
||||
class PaymentConfirmStarted extends PaymentConfirmEvent {
|
||||
final int orderId;
|
||||
PaymentConfirmStarted(this.orderId);
|
||||
}
|
||||
|
||||
class PaymentCardChanged extends PaymentConfirmEvent {
|
||||
final PaymentCard card;
|
||||
PaymentCardChanged(this.card);
|
||||
}
|
||||
|
||||
class SelectBalancePressed extends PaymentConfirmEvent {}
|
||||
|
||||
class PayRide extends PaymentConfirmEvent {
|
||||
final int orderId;
|
||||
final int? cardId;
|
||||
final bool isBalance;
|
||||
final List<int> photoIds;
|
||||
|
||||
PayRide({
|
||||
required this.orderId,
|
||||
required this.cardId,
|
||||
required this.isBalance,
|
||||
required this.photoIds,
|
||||
});
|
||||
}
|
||||
import '../../domain/entities/payment_card.dart';
|
||||
|
||||
sealed class PaymentConfirmEvent {}
|
||||
|
||||
class PaymentConfirmStarted extends PaymentConfirmEvent {
|
||||
final int orderId;
|
||||
PaymentConfirmStarted(this.orderId);
|
||||
}
|
||||
|
||||
class PaymentCardChanged extends PaymentConfirmEvent {
|
||||
final PaymentCard card;
|
||||
PaymentCardChanged(this.card);
|
||||
}
|
||||
|
||||
class SelectBalancePressed extends PaymentConfirmEvent {}
|
||||
|
||||
class PayRide extends PaymentConfirmEvent {
|
||||
final int orderId;
|
||||
final int? cardId;
|
||||
final bool isBalance;
|
||||
final List<int> photoIds;
|
||||
|
||||
PayRide({
|
||||
required this.orderId,
|
||||
required this.cardId,
|
||||
required this.isBalance,
|
||||
required this.photoIds,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user