UnexpectedResponseStructureException class

Failure occurring when the structure of the parsedResponse data does not match that of the request operation document.

This is checked by leveraging normalize

Inheritance
Implemented types
Annotations
  • @immutable

Constructors

UnexpectedResponseStructureException(PartialDataException originalException, StackTrace originalStackTrace, {required Request request, required Response parsedResponse})
const

Properties

data Map<String, dynamic>?
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
originalException PartialDataException
The original exception causing this exception
final
originalStackTrace StackTrace
final
parsedResponse Response?
The parsed response
finalinherited
request Request
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
The status code of the request, if available
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited