hasEmitHandler method

  1. @protected
  2. @nonVirtual
bool hasEmitHandler(
  1. String emitKey
)
inherited

Full documentation: https://www.ezflap.io/deep-dive/events/events.html

Use this method to check whether a particular emit handler is available (i.e. if one was provided by the host widget using z-on).

Implementation

@protected
@nonVirtual
bool hasEmitHandler(String emitKey) {
	return (this.widget.$tryGetEmitHandler(emitKey) != null);
}