ApiResponse<T> constructor

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

Implementation

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