Effect class abstract interface

A side effect that runs when its dependencies change.

Effects are used to perform actions in response to signal changes, such as updating the UI or making API calls.

Implemented types

Properties

deps Link?
The head of this subscriber's dependency linked list.
getter/setter pairinherited
depsTail Link?
The tail of this subscriber's dependency linked list.
getter/setter pairinherited
flags int
Bit flags indicating the subscriber's current state. See SubscriberFlags for possible values.
getter/setter pairinherited
fn → void Function()
The function to execute when dependencies change.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subs Link?
The head of the subscriber linked list.
getter/setter pairinherited
subsTail Link?
The tail of the subscriber linked list.
getter/setter pairinherited

Methods

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