RequestFailure constructor

RequestFailure(
  1. Response rawResponse
)

Implementation

RequestFailure(this.rawResponse) {
  final json = rawResponse.document;
  if (json == null) return;
  final document = InboundDocument(json);
  errors.addAll(document.errors());
  meta.addAll(document.meta());
}