addListener abstract method

void addListener(
  1. void listener()
)

Adds a listener handler.

Implementation

void addListener(void Function() listener);