fromJson static method
Implementation
@visibleForTesting
static ErrorResponse? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = ErrorResponse._privateConstructor();
result._code = jsonObject["code"];
result._message = jsonObject["message"] ?? "";
return result;
}