ApiError<T> constructor

const ApiError<T>({
  1. required String message,
  2. required String error,
  3. int? statusCode,
  4. Map<String, dynamic>? raw,
})

Implementation

const ApiError(
    {required this.message, required this.error, this.statusCode, this.raw});