Validates raw ZAP documents against the ZAP schemas.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
validate(
Map< String, Object?> document, {Map<String, Object?> ? schema}) → ZapValidationResult -
Validates
document(already JSON-decoded) against the schema for itstypefield, or againstschemawhen given. -
validateRaw(
Object? value) → ZapValidationResult -
Validates a raw (not yet decoded)
valueas a ZAP message root: rejects non-objects before schema dispatch. -
validateWith(
Object? value, Map< String, Object?> schema) → ZapValidationResult -
Validates an arbitrary decoded
valueagainstschema— the third-party entry for roots that are not message objects.