readInt method
Implementation
Future<int?> readInt({required String key, bool isEncrypted = true}) async {
final stringValue = await readString(key: key, isEncrypted: isEncrypted);
if (stringValue != null) {
return int.tryParse(stringValue);
}
return null;
}