ApiResponseModel<T> constructor

ApiResponseModel<T>({
  1. required bool success,
  2. String? error,
  3. T? data,
  4. bool? isZodError = false,
})

Implementation

ApiResponseModel({
  required this.success,
  this.error,
  this.data,
  this.isZodError = false,
});