getLastSync method

Future<int> getLastSync()

Implementation

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