onSetState property

void Function(SnapState<T>)? onSetState
final

Side effect to be called when the state is mutated

Implementation

final void Function(SnapState<T>)? onSetState;