ApiResponse<T> constructor Null safety

ApiResponse<T>(
  1. {bool? success = false,
  2. String? message,
  3. T? data}
)

Implementation

ApiResponse({
  this.success = false,
  this.message,
  this.data,
});