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(_instanceReceived!, eventName, callback);
}