new project stable version
This commit is contained in:
31
lib/presentation/event/tariff_sheet_event.dart
Normal file
31
lib/presentation/event/tariff_sheet_event.dart
Normal file
@@ -0,0 +1,31 @@
|
||||
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 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