absoluteError method Null safety

double absoluteError(
  1. Vector2 correct
)

Absolute error between this and correct

Implementation

double absoluteError(Vector2 correct) => (this - correct).length;