MiniSubscription<T> class
Represents a mini subscription for a stream.
Constructors
Properties
- cancelOnError → bool
-
Flag indicating whether to cancel the subscription on error.
final
-
data
→ OnData<
T> -
Callback function to handle incoming data events.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
listener
→ FastList<
T> -
The listener to which this subscription is attached.
final
- onDone → Callback?
-
Callback function to be executed when the stream is done.
final
- onError → Function?
-
Error handler function.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
) → Future< void> - Cancels the subscription.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited