APIError constructor
APIError({})
Returns a new APIError instance.
Implementation
APIError({
required this.statusCode,
required this.code,
this.details = const [],
required this.duration,
this.exceptionFields = const {},
required this.message,
required this.moreInfo,
this.unrecoverable,
});