dispose method Null safety

  1. @mustCallSuper
void dispose()

Discard any resources being held by the object.

The onChanged callback will not be invoked after this method has been called.

Implementation

@mustCallSuper
void dispose() { }