removeChangeListener method
Removes a change listener wih the given listener token.
Implementation
Future<void> removeChangeListener(ListenerToken token) async {
final subscription = tokens.remove(token);
if (subscription != null) {
await subscription.cancel();
}
if (_stored && tokens.length == 0) {
// We had to store this before listening to so if stored on the platform
_stored = !await _channel.invokeMethod('removeQuery', this);
}
}