PropertySchema constructor
- [String name,
- dynamic type,
- bool req,
- List<
IValidationRule> rules]
Creates a new validation schema and sets its values.
name
(optional) a property nametype
(optional) a property typerequired
(optional) true to always require non-null values.rules
(optional) a list with validation rules.
See IValidationRule See TypeCode