DeviceNotificationToken constructor
const
DeviceNotificationToken({})
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,
});