HistoricSamplingConfiguration constructor

HistoricSamplingConfiguration({
  1. Duration? past,
  2. Duration? future,
})

Implementation

HistoricSamplingConfiguration({Duration? past, Duration? future}) : super() {
  this.past = past ?? const Duration(days: DEFAULT_NUMBER_OF_DAYS);
  this.future = future ?? const Duration(days: DEFAULT_NUMBER_OF_DAYS);
}