enableTCFDataCollection method
Setting whether the SDK should collect tcf data automatically from SharedPreferences/UserDefaults
Implementation
void enableTCFDataCollection(bool shouldCollect) {
_methodChannel.invokeListMethod(
"enableTCFDataCollection", {'shouldCollect': shouldCollect});
}