getCountShareCoin static method

Future<DataResult> getCountShareCoin()

Implementation

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