PurchasesError class

Error information for purchases

Constructors

PurchasesError.new(PurchasesErrorCode code, String message, String underlyingErrorMessage, String readableErrorCode)
const
PurchasesError.fromJson(Map<String, dynamic> json)
factory

Properties

code PurchasesErrorCode
The error code
final
hashCode int
The hash code for this object.
no setterinherited
message String
The error message
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
readableErrorCode String
iOS can return a readable error code null, because the construction of the error doesn't prevent it from being null. To be safe we default it to '' instead of making it nullable
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
underlyingErrorMessage String
The underlying error message
final

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