isLuckyOpen static method

Future<DataResult> isLuckyOpen()

Implementation

static Future<DataResult> isLuckyOpen() async {
  var res = await BaseDao.fromBaseEncrypt({}, Address.isLuckyOpen());
  if (res.result) {
    var entity = LuckyBean.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}