ApiResponse<T> constructor

ApiResponse<T>({
  1. required bool success,
  2. T? data,
  3. String? message,
  4. String? code,
})

Implementation

ApiResponse({
  required this.success,
  this.data,
  this.message,
  this.code,
});