matchAnchor static method

Future<DataResult> matchAnchor()

ppeizb

Implementation

static Future<DataResult> matchAnchor() async {
  Map other = {'type': '1'};
  var res = await BaseDao.fromBaseEncrypt(other, Address.matchAnchor());
  if (res.result) {
    var entity = AnchorEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}