lerpTo method
Implementation
DataPointDataMap lerpTo(DataPointDataMap nextMap, double t) {
if (isEmpty || nextMap.isEmpty) return nextMap;
DataPointDataMap result = {};
for (var entry in nextMap.entries) {
final previous = this[entry.key];
final next = entry.value;
result[entry.key] = previous != null && next != null ? previous.lerpTo(next, t) : next;
}
return result;
}