DeviceNotificationToken constructor

const DeviceNotificationToken({
  1. required String osVersion,
  2. required String deviceModel,
  3. String? token,
})

Constructs an instance of DeviceNotificationToken.

Parameters:

  • osVersion: The OS version of the device.
  • deviceModel: The model of the device.
  • token: The notification token (optional).

Implementation

const DeviceNotificationToken({
  required this.osVersion,
  required this.deviceModel,
  this.token,
});