1. override
String toString()

Returns a string representation of this object.

Source

@override
String toString() => "Offset(${dx?.toStringAsFixed(1)}, ${dy?.toStringAsFixed(1)})";