between method
The touches that began between from and to.
Implementation
List<TouchRecord> between(DateTime from, DateTime to) => [
for (final r in _records)
if (!r.at.isBefore(from) && !r.at.isAfter(to)) r,
];
The touches that began between from and to.
List<TouchRecord> between(DateTime from, DateTime to) => [
for (final r in _records)
if (!r.at.isBefore(from) && !r.at.isAfter(to)) r,
];