Simple class
A simple validator which state is defined on creation May be used to fix the isValid state of dynamic validator such as Lifespan
- Inheritance
-
- Object
- EntityValidator
- Simple
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createSnapshot(
) → EntityValidator -
Crates a snapshot of validator preserving it's current
EntityValidator.isValid value
inherited
-
isValid(
) → bool -
If true cached entity is valid.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → String -
A way to serialize entity
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- deserializer → const _SimpleDeserializer
- Validator deserializer