triggerError method

void triggerError(
  1. String name,
  2. Object error
)

Implementation

void triggerError(String name, Object error) {
  _eventController[name]?.addError(error);
}