listens method

dynamic listens(
  1. String type
)

Returns a true if this instance of Evented or any forwardeed instances of Evented have a listener for the specified type.

@param {string} type The event type @returns {boolean} true if there is at least one registered listener for specified event type, false otherwise @private

Implementation

listens(String type) => jsObject.listens(type);