@override Future<bool> setInt(String key, int? value) async { final map = await read(); map[key] = value; return await write(WriteData(map: map, updatedKey: key)); }