initCustomEvent method

void initCustomEvent(
  1. String type, [
  2. bool? bubbles = false,
  3. bool? cancelable = false,
  4. dynamic detail,
])

Implementation

void initCustomEvent(String type,
        [bool? bubbles = false, bool? cancelable = false, dynamic detail]) =>
    js_util.callMethod(
        this, 'initCustomEvent', [type, bubbles, cancelable, detail]);