on<E extends T> method
Adds a listener which executes when value is set as E
Implementation
@override
void on<E extends T>(AtomListener<E> listener) {
_rx.listen((value) {
if (value is E) {
listener(value);
}
});
}