toString method

String toString()
override

String representation of HeadlessEvent for print to logs.

Implementation

String toString() {
  return '[HeadlessEvent name: $name, event: $event]';
}