deleteToken method
Delete the current device token from Supabase (call on logout).
Implementation
Future<void> deleteToken() async {
try {
final token = await _messaging.getToken();
if (token != null) {
await _datasource.deleteDeviceToken(token);
}
} catch (e) {
dev.log('Failed to delete FCM token: $e', name: 'FcmService');
}
}