CombinedRule class
CombinedRule Class: Validate multiple basic rules and group rules together Refer https://github.com/ganeshrvel/pub-rules/blob/master/README.md#1-combinedrule for usage details
Constructors
-
CombinedRule({List<
Rule?> ? rules, List<GroupRule?> ? groupRules})
Properties
-
errorList
→ List<
String> -
outputs the list of error texts
no setter
-
groupRules
→ List<
GroupRule?> ? -
GroupRules list for validation
final
- hasError → bool
-
outputs true if there is a validation error else false
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
rules
→ List<
Rule?> ? -
Rules list for validation
final
- 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