setConfig method
Implementation
Future<void> setConfig(DataTrackingConfig config) async {
final defaultTrackerConfig = <String, bool>{
_collectLocationKey: config.collectLocation,
_collectAaidKey: config.collectAaid,
_collectIdfaKey: config.collectIdfa,
};
final configMap = {_defaultTrackerName: defaultTrackerConfig};
await _setConfigStringToNative(jsonEncode(configMap));
}