enableTCFDataCollection method

void enableTCFDataCollection(
  1. bool shouldCollect
)

Setting whether the SDK should collect tcf data automatically from SharedPreferences/UserDefaults

Implementation

void enableTCFDataCollection(bool shouldCollect) {
  _methodChannel.invokeListMethod(
      "enableTCFDataCollection", {'shouldCollect': shouldCollect});
}