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 IAPSource source, @required String code, @required String message, dynamic details})

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited