helpList static method

Future<DataResult> helpList(
  1. String? type
)

Implementation

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