HubEventSocket<T> class
Constructors
-
HubEventSocket(EventHubService _hub, String topic, {TransferBean<
T> ? bean})
Properties
-
bean
→ TransferBean<
T> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topic → String
-
final
Methods
-
getStream(
{int? prefetch}) → Stream< HubEvent< T> > - Returns a stream of events delivered by this socket.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
publish(
T event) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited