code property

String? code
final

The Instant error code, when the failure came from Instant and the platform reports one — for example REQUEST_FAILED (server unreachable, typically offline), AUTHENTICATION_FAILED (rejected or expired JWT), or INVALID_JWT.

These are the InstantErrorCode names from the native SDKs, passed through verbatim rather than remapped, so a code added natively still reaches you. null for non-Instant failures and on platforms that don't surface a code (currently iOS and Web).

Implementation

final String? code;