Subscription class

The subscription class.

It has the properties Store store and Subscriber subscriber.

Also has a cancel function to cancel subscription.

Constructors

Subscription({required Store store, required void subscriber()})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
store Store
final
subscriber → void Function()
final

Methods

cancel() → void
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