notify property

dynamic get notify

Notify to rebuild widgets according to the aspects.

Used when the type of the Mediator Variable is of type Class.

Implementation

get notify {
  Subscriber.setToRebuild(aspects);

  /// WET: getter of value
  if (_value is! Function) {
    return _value;
  }
  // This is a computed mediator variable.
  final fn = _value as Function;
  final res = fn();
  return res;
}