getRosterVersion method

Future<String?> getRosterVersion()

Load and cache or return the cached roster version.

Implementation

Future<String?> getRosterVersion() async {
  return _lock.synchronized(() async {
    await _loadRosterCache();

    return _currentVersion;
  });
}