emitCustom method

void emitCustom(
  1. String type, [
  2. Object? detail
])

Implementation

void emitCustom(String type, [Object? detail]) {
  emitEvent(CustomEvent(type, detail: detail));
}