runTransaction abstract method

void runTransaction(
  1. void sideEffectTransaction()
)

Executes the supplied sideEffectTransaction, which simply updates the state of some side effects within a singular rebuild call, rebuilding all appropriate capsules at the conclusion of the transaction.

Implementation

void runTransaction(void Function() sideEffectTransaction);