calling static method

Future<DataResult> calling(
  1. String callId
)

通话心跳

Implementation

static Future<DataResult> calling(String callId) async {
  Map other = {'callId': callId};
  var res = await BaseDao.fromBaseEncrypt(other, VideoUrl.calling());
  if (res.result) {
    var entity = VideoEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}