saveUserPhone static method
Persists the logged-in user's phone to gkUserPhone. Empty values are ignored so a known phone is never overwritten with nothing.
Implementation
static Future<void> saveUserPhone(dynamic phone) async {
if (toPhoneValue(phone) == null) return;
await cacheInstance.setValue(
cdnConfigInstance.getKeys(StorageKeyKeys.gkUserPhone)!,
'$phone',
);
}