IAPError class

Captures an error from the underlying purchase platform.

The error can happen during the purchase, restoring a purchase, or querying product. Errors from restoring a purchase are not indicative of any errors during the original purchase. See also:

Constructors

IAPError({required String source, required String code, required String message, dynamic details})
Creates a new IAP error object with the given error details.

Properties

code String
The error code.
final
details → dynamic
Error details, possibly null.
final
hashCode int
The hash code for this object.
no setterinherited
message String
A human-readable error message.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String
Which source is the error on.
final

Methods

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

Operators

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