off method Null safety

void off(
  1. String event
)

Implementation

void off(String event) {
  _bindings = _bindings.where((bind) => bind.event != event).toList();
}