removeEventListener method
Remove an event listener that has previously been added.
Marking the method with JSUtils.allowInterop
will be done automatically
for you.
See: addEventListener.
Implementation
void removeEventListener(
final String type, final void Function(dynamic) listener) {
/// TODO: may need to tell the developer to store the listener that you get
/// after throwing it through _JSUtil.allowInterop.
_JSUtil.callMethod(_jsObject, "removeEventListener",
[type, _JSUtil.allowInterop(listener)]);
}