setState<T> method

void setState<T>(
  1. T updater()
)

Implementation

void setState<T>(T Function() updater) {
  updater();
  _notify();
}