onEvent method

void onEvent ( JsonSchemaEvent event)
inherited

Called whenever an event is added to the bloc. A great spot to add logging/analytics at the individual bloc level.

Implementation

void onEvent(Event event) => null;