Subscription class
A listener on an observable, it can close listen in later
Constructors
- Subscription(ObservableBase observable, Function callback)
- Create a subscription
Properties
- callback → Function
-
Function will be called
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- observable → ObservableBase
-
Current observable listening
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - close listen on observable
-
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