AmFunctionTrigger<T> constructor
AmFunctionTrigger<T> ({
- required AmDataProvider<
T> amDataProvider, - required void function(
- T? value
Fires a function when the given provider data is changed
Implementation
AmFunctionTrigger({required this.amDataProvider, required this.function}) {
amDataProvider._callFunctions[_key] = this;
}