ConditionalEventEvaluator typedef Null safety

ConditionalEventEvaluator = bool Function(DataPoint dataPoint)

Takes a DataPoint from a sampling stream and evaluates if an event has occurred. Returns true if the event has occurred, false otherwise.

Implementation

typedef ConditionalEventEvaluator = bool Function(DataPoint dataPoint);