anchorSeeInfo static method

Future<DataResult> anchorSeeInfo(
  1. String? id
)

Implementation

static Future<DataResult> anchorSeeInfo(String? id) async {
  Map other = {'anchorUserId': id, 'eventId': '0'};
  var res = await BaseDao.fromBaseJson(other, Address.anchorSeeInfo());
  if (res.result) {
    var entity = TokenEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}