HostListener constructor

const HostListener(
  1. String eventName, [
  2. List<String>? args
])

Implementation

const HostListener(this.eventName, [this.args]);