LinkFiveClientInterface class abstract

HTTP client to LinkFive

Implementers

Constructors

LinkFiveClientInterface()

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

changeUserId(String? userId) Future<List<LinkFivePlan>>
Should change the USER ID.
fetchLinkFiveResponse() Future<LinkFiveResponseData>
Call to LinkFive to get the subscriptions to show
fetchUserPlanListFromLinkFive() Future<List<LinkFivePlan>>
Fetches the receipts for a user
init(LinkFiveEnvironment env, LinkFiveAppDataStore appDataStore) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purchaseGooglePlay(GooglePlayPurchaseDetails purchaseDetails, GooglePlayProductDetails productDetails) Future<List<LinkFivePlan>>
after a purchase on Google we call the purchases/google We don't need to do this on Android
purchaseIos(AppStoreProductDetails productDetails, AppStorePurchaseDetails purchaseDetails) Future<List<LinkFivePlan>>
after a purchase on ios we call the purchases/apple We don't need to do this on Android
restoreGoogle(List<LinkFiveRestoreGoogleItem> restoreList) Future<List<LinkFivePlan>>
RESTORE GOOGLE PLAY STORE
restoreIos(List<LinkFiveRestoreAppleItem> restoreList) Future<List<LinkFivePlan>>
RESTORE APPLE APP STORE
toString() String
A string representation of this object.
inherited

Operators

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