Subscription class

Constructors

Subscription({required FreeTrial freeTrial, required String benefits, required bool physical, required bool digital, required bool adFree, required bool migrated, required bool couponsEnabled, required String adminCoupon, required List usedCouponNumbers, required String id, required bool recommended, required bool enabled, required String clientId, required String title, required String iconUrl, required List<Tier> tiers, required DateTime createdAt, required DateTime updatedAt, required int v, required int couponCount, required String currencySymbol})
Subscription.fromJson(Map<String, dynamic> json)
factory

Properties

adFree bool
getter/setter pair
adminCoupon String
getter/setter pair
benefits String
getter/setter pair
clientId String
getter/setter pair
couponCount int
getter/setter pair
couponsEnabled bool
getter/setter pair
createdAt DateTime
getter/setter pair
currencySymbol String
getter/setter pair
digital bool
getter/setter pair
enabled bool
getter/setter pair
freeTrial FreeTrial
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iconUrl String
getter/setter pair
id String
getter/setter pair
migrated bool
getter/setter pair
physical bool
getter/setter pair
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tiers List<Tier>
getter/setter pair
title String
getter/setter pair
updatedAt DateTime
getter/setter pair
usedCouponNumbers List
getter/setter pair
v int
getter/setter pair

Methods

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

Operators

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