SubscriptionUtils class

Constructors

SubscriptionUtils()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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 Properties

converter → NumberToCharacterConverter
final

Static Methods

addonsPerks1(Datum package) → List<Widget>
addonsPerks2(Datum package) → List<Widget>
businessCard(String packageId) → String
cardNameColor(String packageId) → Color
invitationBgColor(String packageId) → Color
invitationCard(String packageId) → String
invitationCard1(String packageId) → String
invitationCard_small(String packageId) → String
invitationColor(String packageId) → Color
invitationIcon(String packageId) → String
invitationIcon2(String packageId) → String
invitationUsernameColor(String packageId) → Color
mapPackageIdToEnum(String id) → PlanType
mapPackageToEnum(Datum package) → PlanType
mapStringToSubscriptionType(String type) → dynamic
mapUpgradeOptionToName(UpgradeOption option) → String
packageCurrenciesTextColor1(String packageId) → Color
packageCurrenciesTextColor2(String packageId) → Color
packageDateColor(Datum package) → Color
packageIcon(Datum package) → String
packageName(Datum package) → String
packageSubtitle(Datum package) → String
packageUserNameColor(Datum package) → Color
perks1(Datum package) → List<Widget>
perks2(Datum package) → List<Widget>
renewalDate(String packageId) → Color
text1(Datum package) → String
text2(Datum package) → String
toDatum(Subscriptions sub) → Datum
valueText(int? num, {bool needNumberDescription = true}) → String