ThrottleStreamTransformer<T>.seconds constructor

ThrottleStreamTransformer<T>.seconds(
  1. int seconds
)

Transforms a stream by throttling stream values by seconds

Implementation

factory ThrottleStreamTransformer.seconds(int seconds) =>
    ThrottleStreamTransformer(Duration(seconds: seconds));