addPostSetStateCallback method Null safety

void addPostSetStateCallback(
  1. Function callback
)

Perform some action after setState has been called.

Implementation

void addPostSetStateCallback(Function callback) {
  _postSetStateCallbacks.add(callback);
}