writeInt method

Future<void> writeInt({
  1. required String key,
  2. required int value,
  3. bool isEncrypted = true,
})

write and read int data

Implementation

Future<void> writeInt({required String key, required int value, bool isEncrypted = true}) async {
  await writeString(key: key, value: value.toString(), isEncrypted: isEncrypted);
}