dispatchEvent method
Implementation
@override
void dispatchEvent(dynamic state, {dynamic value}) {
for (var item in _listeners) {
if (item.state == state) {
item.function(value);
}
}
}
@override
void dispatchEvent(dynamic state, {dynamic value}) {
for (var item in _listeners) {
if (item.state == state) {
item.function(value);
}
}
}