sync changes

This commit is contained in:
2026-05-12 11:25:19 +03:00
parent 3616f84556
commit fdc5aefdd2
25 changed files with 313 additions and 152 deletions

View File

@@ -9,6 +9,7 @@ class TariffSheetState {
final List<Tariff> tariffs;
final String? errorMessage;
final PaymentCard? selectedCard;
final bool isInsurance;
final int userBalance;
final bool useBalance ;
@@ -16,6 +17,7 @@ class TariffSheetState {
this.status = TariffSheetStatus.initial,
this.tariffs = const [],
this.selectedCard,
this.isInsurance = false,
this.errorMessage,
this.userBalance = 0,
this.useBalance = false,
@@ -26,6 +28,7 @@ class TariffSheetState {
List<Tariff>? tariffs,
PaymentCard? selectedCard,
String? errorMessage,
bool? isInsurance,
int? userBalance,
bool? useBalance,
@@ -35,6 +38,7 @@ class TariffSheetState {
selectedCard: selectedCard ?? this.selectedCard,
useBalance: useBalance ?? this.useBalance,
userBalance: userBalance ?? this.userBalance,
isInsurance: isInsurance ?? this.isInsurance,
errorMessage: errorMessage ?? this.errorMessage,
);
}