hasEvent method

  1. @override
bool hasEvent(
  1. String tagName,
  2. String eventName
)
override

Implementation

@override
bool hasEvent(String tagName, String eventName) {
  var elementEvents =
      eventSchema[tagName.toLowerCase()] ?? eventSchema['unknown']!;
  return elementEvents.contains(eventName.toLowerCase());
}