batch method

List<LogEntry> batch()

A batch of 1, 2, 5 or 10 entries.

Implementation

List<LogEntry> batch() => [
  for (var i = 0; i < 1 + _pick(const [0, 1, 4, 9]); i++) entry(),
];