Future<bool> hasChanged(String newData) async { String? cachedData = await data; if (newData.length != cachedData.length) { return true; } return false; }