ApiResponse<T> constructor

const ApiResponse<T>({
  1. T? data,
  2. String? message,
  3. ApiError? error,
})

Implementation

const ApiResponse({this.data, this.message, this.error});