NotificationQueryService class

Constructors

NotificationQueryService({required AFeedParsingService feedProvider, Duration queryInterval = const Duration(minutes: 10), required ICacheWrapper cache})

Properties

cache ICacheWrapper
The cache you want to use
final
feed List<FeedEntryModel>
getter/setter pair
feedProvider AFeedParsingService
The feed provider to use
final
hashCode int
The hash code for this object.
no setterinherited
queryInterval Duration
The interval to query for updates
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
queryForUpdates() Stream<bool>
Queries your data source for updates every queryInterval Returns true if there are new posts, false otherwise
toString() String
A string representation of this object.
inherited

Operators

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