setKeyMetricsStats function
Implementation
void setKeyMetricsStats(int key) async {
TRTCCloud trtcCloud = (await TRTCCloud.sharedInstance())!;
trtcCloud.callExperimentalAPI(jsonEncode({"api": "KeyMetricsStats",
"params": { "opt": "count",
"key": key}}));
}