callComment static method

Future<DataResult> callComment(
  1. String? anchorId,
  2. String? callId,
  3. String? isUp,
  4. List<String> label,
)

通话评价

Implementation

static Future<DataResult> callComment(String? anchorId, String? callId,
    String? isUp, List<String> label) async {
  Map other = {
    'anchorId': anchorId,
    'callId': callId,
    'isUp': isUp,
    'label': label
  };
  var res = await BaseDao.fromBaseEncrypt(other, Address.callComment());
  if (res.result) {
    var entity = TokenEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}