fromJson static method
Implementation
@visibleForTesting
static DocReaderException? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = DocReaderException.unknown();
result._code = ErrorCodes.getByValue(jsonObject["code"])!;
result._message = jsonObject["message"] ?? "";
return result;
}