WorldSteps constructor

WorldSteps({
  1. required String person,
  2. Duration window = const Duration(milliseconds: 1500),
  3. Duration startWindow = worldStartWindow,
  4. void report(
    1. String channel,
    2. Map<String, Object?> payload
    )?,
})

Implementation

WorldSteps({
  required String person,
  this.window = const Duration(milliseconds: 1500),
  this.startWindow = worldStartWindow,
  void Function(String channel, Map<String, Object?> payload)? report,
}) : _prefix = worldStepPrefix(person),
     _report = report ?? _toChannels;