ServiceResult.onParsingFailure constructor
ServiceResult.onParsingFailure()
Implementation
factory ServiceResult.onParsingFailure(int httpCode,
Map<String, String> headers, String body, Exception exception) {
return ServiceResult._(
httpCode: httpCode,
headers: headers,
result: ServiceExecutionResult.parsing_failure,
entity: body,
exception: exception);
}