getRtmToken static method

Future<DataResult> getRtmToken()

Implementation

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