DataResponse<T> constructor

DataResponse<T>({
  1. required T? entity,
  2. bool result = false,
  3. dynamic response,
  4. int? totalPageNum = 1,
})

Implementation

DataResponse({
  required this.entity,
  this.result = false,
  this.response,
  this.totalPageNum = 1,
});