NamiEntitlementManager class

This class contains all methods and objects to work with entitlements in the SDK.

Constructors

NamiEntitlementManager()

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 Methods

activeEntitlements() Future<List<NamiEntitlement>>
Returns a list of NamiEntitlement that are currently active
clearAllEntitlements() Future<void>
Call to remove any entitlements previously set in the SDK
entitlementChangeEvents() Stream<List<NamiEntitlement>>
getEntitlements() Future<List<NamiEntitlement>>
Get a list of NamiEntitlement from that have been configured on Nami Control Center
isEntitlementActive(String referenceId) Future<bool>
Returns true if a Nami Control Center defined Entitlement has at least one backing purchase and it's not expired.
setEntitlements(List<NamiEntitlementSetter> entitlements) Future<void>