setFrom method
Set this to the values of the other Transform2D.
Implementation
void setFrom(Transform2D other) {
_isBatchUpdating = true;
angle = other.angle;
position = other.position;
scale = other.scale;
offset = other.offset;
_isBatchUpdating = false;
notifyListeners();
}