ValidatorMulti class
ValidatorMulti 多重验证器
Constructors
-
ValidatorMulti(List<
Validator> validators) - ValidatorMulti 多重验证器
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
验证失败时的提示文本
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
validators
→ List<
Validator> -
验证器列表
final
Methods
-
call(
dynamic val) → String? -
验证并返回错误信息
override
-
isValid(
String? val) → bool -
验证值是否有效
override
-
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