add method

Observer<T> add(
  1. void callback(
    1. T eventData,
    2. EventState eventState
    ), [
  2. num mask,
  3. bool insertFirst,
  4. dynamic scope,
  5. bool unregisterOnFirstCall,
])

Implementation

external Observer<T> add(void Function(T eventData, EventState eventState) callback, [num mask, bool insertFirst, dynamic scope, bool unregisterOnFirstCall]);