fn property

void Function() fn
final

The side effect function to execute.

This function is called whenever any of the effect's dependencies change.

Implementation

final void Function() fn;