JsonSchemaResult class final

The outcome of JsonSchema.validate: valid, or the violations.

Spring (Java): Spring has no counterpart.

Constructors

JsonSchemaResult(List<JsonSchemaViolation> violations)
A result with violations; none means valid.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isValid → bool
Whether the instance fits the schema.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
violations → List<JsonSchemaViolation>
Every place where the instance does not fit, in document order.
final

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