NiceJsonSchemaValidator class
Validates data against a JSON Schema.
Constructors
-
NiceJsonSchemaValidator(Map<
String, dynamic> schema)
Properties
Methods
-
isValid(
Map< String, dynamic> data) → bool - Check if data is valid.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
Map< String, dynamic> data) → Map<String, String> - Validate data against the schema. Returns a map of field keys to error messages (empty if valid).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited