DynaValidator class

DynaValidator is a class used to validate JSON data based on a specified schema.

Constructors

DynaValidator({required String json, required Map<String, List<DynaType>> schema})
Creates a new instance of DynaValidator.

Properties

hashCode int
The hash code for this object.
no setterinherited
json String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema Map<String, List<DynaType>>
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
validate() → void
Validates the JSON data against the provided schema.

Operators

operator ==(Object other) bool
The equality operator.
inherited