matchUnLike static method

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

Implementation

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