ApiResponse<T> constructor

ApiResponse<T>({
  1. T? data,
  2. required int code,
  3. String? msg = 'success',
  4. int? total,
  5. Object? e,
})

Implementation

ApiResponse(
    {this.data,
    required this.code,
    this.msg = 'success',
    this.total,
    this.e});