token property
Returns the DeviceToken that is used for push notifications.
Implementation
DeviceToken get token => DeviceToken(
apns: _apns == null ? null : ApnsDeviceToken(_apns ?? ''),
voip: _voip == null ? null : ApnsVoipDeviceToken(_voip ?? ''),
fcm: _token == null ? null : FcmRegistrationToken(_token ?? ''),
);