PastDateTimeValidator class

Ensures that a DateTime in name is in the past.

Implemented types
Available Extensions

Constructors

PastDateTimeValidator(String name)
name is split using '.' and the map is traversed sequentially until the value is returned. Will Validate if that value is not true.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
The message to be displayed if validate fails.
no setteroverride
name String
name is split using '.' and the map is traversed sequentially until the value is returned.
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
validate(Map<String, dynamic> map) bool
Returns true if the given map from BaseModel.toMap passes this Validator's check.
override

Operators

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