some fix
# Conflicts: # lib/presentation/navigation/app_router.dart # pubspec.yaml
This commit is contained in:
@@ -1,36 +1,36 @@
|
||||
import 'package:be_happy/domain/entities/payment_card.dart';
|
||||
|
||||
sealed class TariffSheetEvent {}
|
||||
|
||||
class TariffSheetStarted extends TariffSheetEvent {
|
||||
final int scooterId;
|
||||
|
||||
TariffSheetStarted(this.scooterId);
|
||||
}
|
||||
|
||||
class PaymentCardChanged extends TariffSheetEvent {
|
||||
final PaymentCard card;
|
||||
|
||||
PaymentCardChanged(this.card);
|
||||
}
|
||||
|
||||
class InsuranceToggled extends TariffSheetEvent {
|
||||
final bool isEnabled;
|
||||
InsuranceToggled(this.isEnabled);
|
||||
}
|
||||
|
||||
class SelectBalancePressed extends TariffSheetEvent {}
|
||||
|
||||
class BookScooterPressed extends TariffSheetEvent {
|
||||
final int scooterId;
|
||||
final int planId;
|
||||
final int? subscriptionId;
|
||||
final int? cardId;
|
||||
final bool isBalance;
|
||||
final bool isInsurance;
|
||||
|
||||
BookScooterPressed(this.scooterId, this.planId, this.subscriptionId,
|
||||
this.cardId, this.isBalance, this.isInsurance);
|
||||
|
||||
|
||||
}
|
||||
import 'package:be_happy/domain/entities/payment_card.dart';
|
||||
|
||||
sealed class TariffSheetEvent {}
|
||||
|
||||
class TariffSheetStarted extends TariffSheetEvent {
|
||||
final int scooterId;
|
||||
|
||||
TariffSheetStarted(this.scooterId);
|
||||
}
|
||||
|
||||
class PaymentCardChanged extends TariffSheetEvent {
|
||||
final PaymentCard card;
|
||||
|
||||
PaymentCardChanged(this.card);
|
||||
}
|
||||
|
||||
class InsuranceToggled extends TariffSheetEvent {
|
||||
final bool isEnabled;
|
||||
InsuranceToggled(this.isEnabled);
|
||||
}
|
||||
|
||||
class SelectBalancePressed extends TariffSheetEvent {}
|
||||
|
||||
class BookScooterPressed extends TariffSheetEvent {
|
||||
final int scooterId;
|
||||
final int planId;
|
||||
final int? subscriptionId;
|
||||
final int? cardId;
|
||||
final bool isBalance;
|
||||
final bool isInsurance;
|
||||
|
||||
BookScooterPressed(this.scooterId, this.planId, this.subscriptionId,
|
||||
this.cardId, this.isBalance, this.isInsurance);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user