removeListener method Null safety

void removeListener (
  1. VoidCallback listener
)

Remove a previously registered closure from the list of closures that the object notifies.

Implementation

void removeListener(VoidCallback listener);