InappifyFailure class

Describes a platform-independent SDK failure.

details must only contain values supported by Flutter's standard message codec. API keys, access tokens, purchase tokens, and other secrets must never be included in this object or written to logs.

Annotations

Constructors

InappifyFailure({required InappifyFailureCode code, required String message, bool isRetryable = false, Map<String, Object?> details = const <String, Object?>{}})
const
InappifyFailure.unsupported(String operation)
Creates the standard failure used by adapters that do not implement an operation yet.
factory

Properties

code → InappifyFailureCode
Machine-readable failure category.
final
details → Map<String, Object?>
Non-sensitive, codec-safe diagnostic metadata.
final
hashCode → int
The hash code for this object.
no setterinherited
isRetryable → bool
Whether retrying the same semantic operation can be considered safe.
final
message → String
Human-readable diagnostic message intended for development logs.
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.
inherited

Operators

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