subscribeToDetection method

StreamSubscription<SocialContentDetection> subscribeToDetection(
  1. dynamic listener(
    1. SocialContentDetection detected
    )
)

Implementation

StreamSubscription<SocialContentDetection> subscribeToDetection(Function(SocialContentDetection detected) listener){
  return _detectionStream.stream.listen(listener);
}