AbstractUpdateFetcher class abstract

The base class for update fetchers.

It implements methods which are used by both Webhook and LongPolling

Implementers

Constructors

AbstractUpdateFetcher()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

emitUpdate(Update update) → void
Add update to the stream.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onUpdate() Stream<Update>
When update is added to stream.
start() Future<void>
Starts fetching updates.
stop() Future<void>
Stops fetching updates.
toString() String
A string representation of this object.
inherited

Operators

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