calling static method
通话心跳
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;
}