SparkFormatValidator class

Inheritance

Constructors

SparkFormatValidator.form(RegExp? rule, {required String errorMessage, VerifyType type = VerifyType.all, FormStrategy strategy = FormStrategy.limit})
vilify result by regexp

Properties

errorMessage String
verify error message
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
rule RegExp?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strategy FormStrategy
validate strategy
getter/setter pairinherited
type VerifyType
validate type
getter/setter pairinherited

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(dynamic value, String fieldName, VerifyType? type) ValidateResult
validate rule
override

Operators

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