AfterValidator class

Checks whether the give value is after the specified time and date.

The year parameter is required. All other time units are optional.

Supported types: DateTime, String

Inheritance

Constructors

AfterValidator({@required int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond})

Properties

message ↔ Function
read / write, override
allowNull ↔ bool
null is allowed by default for every ConstraintValidator. [...]
read / write, inherited
argumentValues ↔ List
read / write, inherited
date ↔ DateTime
read / write, inherited
day → int
final, inherited
defaultArgumentValues ↔ List
read / write, inherited
hashCode → int
The hash code for this object.
read-only, inherited
hour → int
final, inherited
microsecond → int
final, inherited
millisecond → int
final, inherited
minute → int
final, inherited
month → int
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
second → int
final, inherited
year → int
final, inherited

Methods

isValid(Object value, ValueContext context) → bool
override
compare(dynamic value) → int
inherited
initialize() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
resetArgumentValues() → void
inherited
toString() → String
Returns a string representation of this object.
inherited
validate(dynamic value, [ValueContext context]) → bool
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited