samplingTimes property

List<TimeOfDay> get samplingTimes

Get N random times between startTime and endTime

Implementation

List<TimeOfDay> get samplingTimes {
  List<TimeOfDay> samplingTimes = [];
  for (int i = 0; i <= numberOfSampling; i++) {
    samplingTimes.add(randomTime);
  }
  debug('Random sampling times: $samplingTimes');
  return samplingTimes;
}