SubscriptionService class abstract

Implementers

Constructors

SubscriptionService()

Properties

activeSubscriptions → Map<SubscriptionLevel, List<UserSubscription>>
no setter
hashCode → int
The hash code for this object.
no setterinherited
isLoading → bool
no setter
profilePlans → Map<String, SubscriptionPlan>
no setter
profileType → ProfileType
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedPlan → SubscriptionPlan
no setter
selectedPlanImgUrl → String
no setter
selectedPlanName → String
no setter
selectedPrice → Price
no setter
subscriptionPlans → Map<String, SubscriptionPlan>
no setter

Methods

cancelSubscription() → Future<void>
changeSubscriptionPlan(String planId) → void
getActiveSubscriptions({SubscriptionLevel? targetLevel, int targetMonth, int targetYear}) → List<UserSubscription>
getSubscriptionPrice(SubscriptionLevel level) → double
initializeSubscriptions() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paySubscription(SubscriptionPlan subscriptionPlan, String fromRoute) → Future<void>
refreshActiveSubscriptions() → Future<void>
selectFacilityType(FacilityType type) → void
selectPlaceType(PlaceType type) → void
selectProfileType(ProfileType type) → void
setActiveSubscriptions() → Future<void>
setProfileTypePlans() → void
toString() → String
A string representation of this object.
inherited
updateProfileType() → Future<void>

Operators

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