DateFilter class

This class defines filter operations for DateTime type

Because DateTime can be treated as number (with same operations), we use NumberFilter as interface of this class

Inheritance

Constructors

DateFilter(String fieldName)
Initialize new DateFilter instance

Properties

equal DateTime?
Query all records that has its field's value is equal to this property's value
getter/setter pairinherited
greater DateTime?
Query all records that has its field's value is greater than this property's value
getter/setter pairinherited
greaterEqual DateTime?
Query all records that has its field's value is greater than or equal to this property's value
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
less DateTime?
Query all records that has its field's value is less than this property's value
getter/setter pairinherited
lessEqual DateTime?
Query all records that has its field's value is less than or equal to this property's value
getter/setter pairinherited
name String
finalinherited
notEqual DateTime?
Query all records that has its field's value is not equal to this property's value
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJSON(dynamic json) → void
Deserialize data from JSON
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() Map<String, dynamic>
Convert this DateFilter to JSON
override
toString() String
Convert this filter directly to JSON string
inherited

Operators

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