notifyClients method

void notifyClients()
inherited

In harmony with Flutter's own API Rebuild the InheritedWidget of the 'closes' InheritedStateX object if any.

Implementation

void notifyClients() {
  final state = context.findAncestorStateOfType<InheritedStateX>();
  state?.notifyClients();
}