off<P> method

void off<P>(
  1. Enum eventName,
  2. CallbackEvent<T, P> callback
)

Removes the callback of eventName event.

Implementation

void off<P>(Enum eventName, CallbackEvent<T, P> callback) {
  Reactter.off<T, P>(_instanceReceived, eventName, callback);
}