data property

T get data

Alternative getter of the current value of the informer.

Implementation

T get data => _value;
set data (T newData)

Alternative setter of the current value of the informer.

This will notify listeners by default, respecting the _forceUpdate flag. For silent updates, use silentUpdate.

Implementation

set data(T newData) => update(newData);