FormeValidation class

Annotations

Constructors

FormeValidation(Map<String, FormeFieldValidation> _validations)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
whether form has any fields
no setter
isFail → bool
any field validate failed
no setter
isInvalid → bool
any field is invalid
no setter
isUnnecessary → bool
all fields are no need to validate
no setter
isValid → bool
all fields are valid
no setter
isValidating → bool
any field is validating
no setter
isValidOrUnnecessaryOrEmpty → bool
form has no fields or all fields is valid or no validator or no fields in form
no setter
isWaiting → bool
any fields is waiting for validate
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
validations → Map<String, FormeFieldValidation>
get all fields validations
no setter

Methods

getValidation(String name) → FormeFieldValidation?
get field's validation
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