FcmConfigError class

An FCM configuration error reported by the PushEngage Android SDK.

Delivered via PushEngage.onFcmConfigError. Android only — the stream never emits on iOS.

Codes:

  • 5001 — FCM sender id mismatch
  • 5002 — FCM project id mismatch
  • 5003 — local FCM config invalid
  • 5004 — both sender id and project id mismatch

Constructors

FcmConfigError({required int code, required String message})
const

Properties

code int
The error code (e.g. 5001, 5002, 5003, 5004).
final
hashCode int
The hash code for this object.
no setterinherited
message String
A human-readable description of the configuration problem.
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