target property

Offset get target

The moving target; writing a NEW position wakes a resting chase.

Implementation

Offset get target => _target;
set target (Offset next)

Implementation

set target(Offset next) {
  if (next != _target) {
    _target = next;
    _resting = false;
  }
}