IapError class

Exception for in-app purchase errors.

Implemented types

Constructors

IapError({required String code, required String message, String? hint, Object? originalError})
const
IapError.fromCode(String code, {String? hint, Object? originalError})
Creates an error from a code with default message.
factory

Properties

code String
Error code.
final
hashCode int
The hash code for this object.
no setterinherited
hint String?
Hint for resolving the error.
final
message String
Error message.
final
originalError Object?
Original error (if any).
final
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.
override

Operators

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