FcmRegistrationTokenMismatch constructor

FcmRegistrationTokenMismatch(
  1. {String? fcmRegistrationTokenInServer,
  2. String? fcmRegistrationTokenInMobileDevice,
  3. required Server server}
)

Default constructor for FcmRegistrationTokenMismatch.

Params:

  • fcmRegistrationTokenInServer: the firebase registration token in the server.
  • fcmRegistrationTokenInMobileDevice: the firebase registration token in the mobile device application
  • server: the server where the mismatch occurs.

Implementation

factory FcmRegistrationTokenMismatch({
  String? fcmRegistrationTokenInServer,
  String? fcmRegistrationTokenInMobileDevice,
  required Server server,
}) {
  return FcmRegistrationTokenMismatchImpl(
    fcmRegistrationTokenInServer: fcmRegistrationTokenInServer,
    fcmRegistrationTokenInMobileDevice: fcmRegistrationTokenInMobileDevice,
    server: server,
  );
}