syncAll method
Implementation
@override
Future<Map<String, int>> syncAll({List<String> consentStates = const ['allowed']}) async {
final result = await methodChannel.invokeMethod('syncAll', {
'consentStates': consentStates,
});
if (result == null) {
return {'numGroupsSynced': 0};
}
return Map<String, int>.from(result.map((key, value) => MapEntry(key, value as int)));
}