getRtcToken static method

Future<DataResult> getRtcToken(
  1. String? houseId
)

Implementation

static Future<DataResult> getRtcToken(String? houseId) async {
  var res = await BaseDao.fromBaseEncryptV3({}, Address.getRtcToken(),
      post: false, queryParameters: {'houseId': houseId});
  if (res.result) {
    return DataResult(res.data, true);
  }
  return res;
}