VerifyPurchaseResultHorizon class

Result from Meta Horizon verify_entitlement API. Returns verification status and grant time for the entitlement.

Inheritance

Constructors

VerifyPurchaseResultHorizon({double? grantTime, required bool success})
const
VerifyPurchaseResultHorizon.fromJson(Map<String, dynamic> json)
factory

Properties

grantTime double?
Unix timestamp (seconds) when the entitlement was granted.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
Whether the entitlement verification succeeded.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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