syncConsentPreferences method

  1. @override
Future<bool> syncConsentPreferences()
override

Sync consent preferences from network

Implementation

@override
Future<bool> syncConsentPreferences() async {
  try {
    await _promiseToFuture(
      _clientManager.syncConsentPreferences(),
    );

    return true;
  } catch (e) {
    throw Exception('Failed to sync consent preferences: $e');
  }
}