notifyElementGenerated method
Dispatch a onGenerate event with element
.
Implementation
void notifyElementGenerated(Object? element) {
if (_onGenerate != null) {
try {
_onGenerate!.add(element);
} catch (e, s) {
print(e);
print(s);
}
}
}