ApiError.unknown constructor
const
ApiError.unknown(
- String? message, [
- StackTrace? trace
Create an APIError from a custom error (eg. exception during data processing)
Implementation
const ApiError.unknown(String? message, [StackTrace? trace])
: _dio = null,
_message = message,
_trace = trace,
_statusCode = -1;