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