MethodChannelApphudPlus class

An implementation of ApphudPlusPlatform that uses method channels.

Inheritance

Constructors

MethodChannelApphudPlus()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addForegroundNotificationListener(ValueSetter<String> callback) Future<void>
override
addForegroundNotificationListenerRaw(ValueSetter<ApphudNotificationPayload> callback) Future<void>
override
getBackgroundNotificationPayload() Future<ApphudNotificationPayload?>
override
getBackgroundNotificationPayloadRaw() Future<String?>
override
hasActiveSubscription() Future<bool>
override
hasProductWithId(String productId) Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paywallsDidLoad() Future<bool>
override
paywallsDidLoadStream() StreamController<bool>
override
purchase(String productId) Future<PurchaseResult>
override
setListener(ApphudPlusListener listener) → void
override
toString() String
A string representation of this object.
inherited

Operators

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