VerifyPurchaseErrorCode enum

Category of a VerifyPurchaseException.

Inheritance
Available extensions

Values

notInitialized → const VerifyPurchaseErrorCode

VerifyLocalPurchase.initialize() was not called.

missingConfig → const VerifyPurchaseErrorCode

The config for the store being called was not provided.

invalidCredentials → const VerifyPurchaseErrorCode

The credentials could not be parsed (malformed JSON / key).

unauthorized → const VerifyPurchaseErrorCode

The store rejected the credentials (HTTP 401/403).

invalidToken → const VerifyPurchaseErrorCode

The token passed in is empty or could not be extracted.

apiError → const VerifyPurchaseErrorCode

The store returned an error response.

networkError → const VerifyPurchaseErrorCode

The request did not reach the store (no connection, DNS, timeout).

invalidResponse → const VerifyPurchaseErrorCode

The store answered with a payload this package could not read.

unknown → const VerifyPurchaseErrorCode

Any other failure.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<VerifyPurchaseErrorCode>
A constant List of the values in this enum, in order of their declaration.