GoalCardData class

Constructors

GoalCardData({required bool isAnyVouchersGenerated, required bool showSwitchBrand, required DateTime? discontinueDate, required bool isGoalStoppedMidway, required String ribbonText, required String totalAmountUpTillNow, required double availableAmount, required GoalStatus status, required String imageUrl, required String name, required bool showRibbon, required String goalAmount, required String dueAmount, required Tenure tenure, required DateTime dueDate, required DateTime endDate, required String id, required bool showPaymentDueDate, required double rewardPercent, required String rewardEMI, required double takeOutPercent, required String accumulatedReward, required String paidAmount, required Tenure completedTenure, required bool isPaymentDue, required double totalAccumulatedAmount, required bool isRedeemed, required bool isGoalActive, required int unmissedDepositsLength, required bool isGoalRevisable, required bool isSubscriptionPending, required bool isActiveSubscriptionPresent, required bool isAutoDebitSubscriptionPossible, required String autoDebitSubscriptionExternalId, required List<String> tnc})

Properties

accumulatedReward String
final
autoDebitSubscriptionExternalId String
no setter
availableAmount double
final
completedTenure → Tenure
final
discontinueDate DateTime?
final
dueAmount String
final
dueDate DateTime
final
endDate DateTime
final
goalAmount String
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
imageUrl String
final
isActiveSubscriptionPresent bool
no setter
isAnyVouchersGenerated bool
final
isAutoDebitSubscriptionPossible bool
no setter
isGoalActive bool
final
isGoalRevisable bool
final
isGoalStoppedMidway bool
final
isPaymentDue bool
final
isRedeemed bool
final
isSubscriptionPending bool
no setter
name String
final
paidAmount String
final
rewardEMI String
final
rewardPercent double
final
ribbonText String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showPaymentDueDate bool
final
showRibbon bool
final
showSwitchBrand bool
final
status → GoalStatus
final
takeOutPercent double
final
tenure → Tenure
final
tnc List<String>
no setter
totalAccumulatedAmount double
final
totalAmountUpTillNow String
final
unmissedDepositsLength int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromGoal(GoalGetResponse response) GoalCardData
of(BuildContext context) GoalCardData