smart_dates/smart_dates library
Classes
- DelegatingSmartDateQueryResult
- Used when you need to wrap a result, but delegate changes
- FactSmartDateQueryResult
- The result of a smartDate query that was based on a fact.
- FactSmartDateQuerySource
- Used to make smartDate queries that are based on fact data.
- SmartDateExts
- SmartDateQueryResult
- Result of a date query - might actually be an unresolved date, like "This contact doesn't have an anniversary"
- SmartDateQuerySource
-
Represents a query to be sent to the SmartDateService - because of
Fact
dates, we may do some pre-processing to the query, which is why we subclass. - SmartDateService
- TermResult
- Default impl of SmartDateQueryResult
- TermSource
- Default impl for SmartDateQuerySource
- UnresolvedFactDateQueryResult
- This query wasn't sent to the server, but still represents something we want to show the user. This means that we found a fact name, but the focused contact (or other scope) doesn't contain an actual date.
Mixins
Extensions
- FactQueryExtension on FactDateSchemaQuery
- ResolvedFactDateExtensions on FactDateSchemaQuery
- SmartDateExt on ISmartDate
- SmartDateQueryResultExtension on SmartDateQueryResult
Properties
- smartDateService → SmartDateService
-
no setter
Typedefs
- QueryInterpolator = String Function(String input, String date)