track method

void track(
  1. Requests request, {
  2. List<String>? tags,
})

Implementation

void track(Requests request, {List<String>? tags}) {
  String list = "";
  for (var tag in tags ?? []) {
    if (list == "") {
      list = tag;
    } else {
      list += ",$tag";
    }
  }
  _methodChannel
      .invokeMethod("track", {"request": fromEnum(request), "tags": list});
}