ApiResponse<T> constructor

ApiResponse<T>(
  1. int statusCode, {
  2. T? data,
  3. String? error,
})

Implementation

ApiResponse(this.statusCode, {this.data, this.error});