maybeChangeModel<T> method

void maybeChangeModel<T>(
  1. Symbol key,
  2. T value
)

Implementation

void maybeChangeModel<T>(Symbol key, T value) {
  assert(state.mounted, 'State is not mounted');
  Model.maybeChange<T>(state.context, key, value);
}