getConfigCacheTimestamp method
Gets the timestamp of the last cached CDN config
Implementation
Future<int?> getConfigCacheTimestamp() async {
try {
final timestampStr = await getValue(_configTimestampKey);
return timestampStr != null ? int.tryParse(timestampStr) : null;
} catch (error) {
// ignore: avoid_print
print('Error getting CDN config cache timestamp: $error');
return null;
}
}