removeParseListener method
void
removeParseListener(
- ParseTreeListener? listener
inherited
Remove listener
from the list of parse listeners.
If [listener] is null or has not been added as a parse listener, this method does nothing.
@see #addParseListener
@param listener the listener to remove
Implementation
void removeParseListener(ParseTreeListener? listener) {
if (_parseListeners != null) {
if (_parseListeners!.remove(listener)) {
if (_parseListeners!.isEmpty) {
_parseListeners = null;
}
}
}
}