delHouse static method

Future<DataResult> delHouse(
  1. int? id
)

Implementation

static Future<DataResult> delHouse(int? id) async {
  Map other = {'id': id};
  var res = await BaseDao.fromBaseJson(other, NowAddress.delHouse());
  if (res.result) {
    return DataResult(res, true);
  }
  return res;
}