SmartDateQueryResult class abstract

Result of a date query - might actually be an unresolved date, like "This contact doesn't have an anniversary"

Implementers
Available Extensions

Constructors

SmartDateQueryResult.ofDateTime(DateTime dateTime, {String? icon, String? overrideLabel})
factory
SmartDateQueryResult.ofFlexiDate(FlexiDate flexiDate, {String? icon, String? overrideLabel})
factory

Properties

flexiDate → FlexiDate?
The resolved date, as a FlexiDate
no setter
hashCode int
The hash code for this object.
no setterinherited
isFlexible bool
Whether the result is a FlexiDate. If true, then flexiDate should not be null. If false, then resultDate should not be null
no setter
isRecurring bool?
Whether or not we should automatically set this to recurring
no setter
isResolved bool
Whether the query resolved to an actual date
no setter
isTimeInferred bool?
Whether the result date has an inferred time.
no setter
recurrence → TimeSpan?
Returns the suggested recurrence for this result. This doesn't necessarily mean that the result should be interpreted as recurring. See isRecurring
no setter
resultDate DateTime?
The resolved date
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selection String?
What gets put back into the search box when this item is selected
no setter
smartDateQuery String?
The query that was sent to the SmartDateService
no setter

Methods

buildListTile(BuildContext context, {bool? isCard, VoidCallback? onTap}) Widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onSelected(BuildContext context) FutureOr<SmartDateQueryResult?>
toDueConfig() → ITaskDueConfig
toOption() → Option<SmartDateQueryResult>
toString() String
A string representation of this object.
inherited

Operators

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