PropertiesValidator class
Validates each entry in a map against a per-key Validator.
Only validates keys that are present in the map — absent keys are ignored (use Required to enforce presence). Any key in properties not present in the input map is silently skipped.
Constructors
-
PropertiesValidator(Map<
String, Validator> properties)
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
final
-
properties
→ Map<
String, Validator> -
Per-field validators keyed by field name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
Map input) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override