Future<int> getLastSync() async { final lastSync = await storage.read(key: _lastSync) ?? '0'; return int.parse(lastSync); }