updateWith method
Implementation
updateWith({required double position, double width = 0}) {
this.position = position;
this.width = width > 0 ? width : this.width;
this.lifetime = DateTime.now().millisecondsSinceEpoch;
// debugPrint('update to $this');
}