FcmRegistrationTokenMismatch class abstract

There is a mismatch between the firebase registration token in the server and the one in the mobile device application.

Fixing this mismatch when invoking DeviceInformationSync will update the values in the server with the values in the mobile device application.

If you rather have the value in the server to be used, you can provide the registration token returned by fcmRegistrationTokenInServer, and execute a DeviceInformationChange operation with that value.

Inheritance

Constructors

FcmRegistrationTokenMismatch({String? fcmRegistrationTokenInServer, String? fcmRegistrationTokenInMobileDevice, required Server server})
Default constructor for FcmRegistrationTokenMismatch.
factory
FcmRegistrationTokenMismatch.fromJson(Map<String, dynamic> json)
Alternate constructor that creates a FcmRegistrationTokenMismatch from a json.
factory

Properties

fcmRegistrationTokenInMobileDevice String?
The firebase registration token in the mobile device application (that is, as returned by DeviceInformation.fcmRegistrationToken through LocalData.deviceInformation).
no setter
fcmRegistrationTokenInServer String?
The firebase registration token in the server.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server Server
The server where the mismatch occurs.
no setter

Methods

fromJson(Map<String, dynamic> json) → dynamic
Returns a value of the type you specify, deserialized from a JSON object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON-encoded representation of the value you supply.
inherited
toString() String
A string representation of this object.
inherited

Operators

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