CallbackEvent<T extends Object?, P> typedef

CallbackEvent<T extends Object?, P> = dynamic Function(T? inst, P param)

to represent an event callback

Implementation

typedef CallbackEvent<T extends Object?, P> = Function(
  T? inst,
  P param,
);