CloudXInitializationResult class

The outcome of CloudX.initialize.

On failure errorCode, errorCodeName and message carry the native SDK's own error, so a publisher can tell a bad app key apart from a network failure. All three are null when success is true.

Constructors

CloudXInitializationResult.fromMap(Map? map)
Builds a result from the native payload.
factory

Properties

errorCode → int?
The native error code, one of the CloudXErrorCode constants.
final
errorCodeName → String?
The native SDK's own name for errorCode, such as INVALID_APP_KEY.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String?
The native error message. Null on success.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success → bool
Whether the SDK initialized.
final

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