MethodChannelZeroSettle class
An implementation of ZeroSettlePlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- ZeroSettlePlatform
- MethodChannelZeroSettle
Constructors
Properties
- checkoutEventChannel → EventChannel
-
final
-
checkoutEvents
→ Stream<
Map< String, dynamic> > -
no setteroverride
- entitlementEventChannel → EventChannel
-
final
-
entitlementUpdates
→ Stream<
List< Map< >String, dynamic> > -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bootstrap(
{required String userId, required int freeTrialDays}) → Future< Map< String, dynamic> > -
override
-
configure(
{required String publishableKey, bool syncStoreKitTransactions = true}) → Future< void> -
override
-
fetchProducts(
{String? userId}) → Future< Map< String, dynamic> > -
override
-
getDetectedJurisdiction(
) → Future< String?> -
override
-
getEntitlements(
) → Future< List< Map< >String, dynamic> > -
override
-
getIsConfigured(
) → Future< bool> -
override
-
getPendingCheckout(
) → Future< bool> -
override
-
getProducts(
) → Future< List< Map< >String, dynamic> > -
override
-
getRemoteConfig(
) → Future< Map< String, dynamic> ?> -
override
-
handleUniversalLink(
String url) → Future< bool> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openCustomerPortal(
{required String userId}) → Future< void> -
override
-
preloadPaymentSheet(
{required String productId, String? userId, required int freeTrialDays}) → Future< void> -
override
-
presentPaymentSheet(
{required String productId, String? userId, required int freeTrialDays, bool dismissible = true}) → Future< Map< String, dynamic> > -
override
-
restoreEntitlements(
{required String userId}) → Future< List< Map< >String, dynamic> > -
override
-
showManageSubscription(
{required String userId}) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
warmUpPaymentSheet(
{required String productId, String? userId, required int freeTrialDays}) → Future< void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited