operator [] method

  1. @override
Stream<Event> operator [](
  1. String type
)
override

Implementation

@override
Stream<Event> operator [](String type) {
  if (webkitEvents.keys.contains(type.toLowerCase())) {
    /*
    if (_Device.isWebKit) {
      return _ElementEventStreamImpl(
        _ptr,
        webkitEvents[type.toLowerCase()],
        false,
      );
    }
    */
  }
  return _ElementEventStreamImpl(_ptr, type, false);
}