JsonSchemaLimits class
Bounds on one evaluation.
Constructors
- JsonSchemaLimits({int maxDepth = 256, int maxSubschemas = 100000, int maxEvaluations = 1000000, Duration timeBudget = const Duration(seconds: 2)})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxDepth → int
-
Nested subschema evaluations (references included).
final
- maxEvaluations → int
-
Subschema evaluations in total.
final
- maxSubschemas → int
-
Subschemas in the schema (and its registered documents).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeBudget → Duration
-
Wall-clock time for one JsonSchemaValidator.validate.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited