NamiEntitlementManager class
This class contains all methods and objects to work with entitlements in the SDK.
Constructors
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
-
active(
) → Future< List< NamiEntitlement> > - Returns a list of NamiEntitlement that are currently active
-
available(
) → 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. -
refresh(
) → Future< List< NamiEntitlement> > - Manually ask the Nami server for the latest active entitlements
-
registerActiveEntitlementsHandler(
) → Stream< List< NamiEntitlement> >