PurchasesErrorHelper class

Helper to convert from PlatformExceptions to PurchasesErrorCodes

Constructors

PurchasesErrorHelper()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

getErrorCode(PlatformException e) PurchasesErrorCode
Use this to convert a PlatformException to a PurchasesErrorCode. It will return PurchasesErrorCode.unknownError if the error code is not in the range of PurchasesErrorCodes.