RegisterDevice constructor

const RegisterDevice({
  1. required DeviceToken deviceToken,
  2. required List<int> otherUserIds,
})

Registers the currently used device for receiving push notifications. Returns a globally unique identifier of the push notification subscription

Implementation

const RegisterDevice({required this.deviceToken, required this.otherUserIds});