onAdd method Null safety

  1. @visibleForOverriding
void onAdd(
  1. T data
)
visibleForOverriding">@visibleForOverriding

A method that handles data events that are passed to the sink.

Implementation

@visibleForOverriding
void onAdd(T data);