format method
Returns a formatted string representation of this vector.
x0 sets the default precision for all components; individual overrides
can be provided via y0 and z0.
Example: [ <x>, <y>, <z> ]
Implementation
String format([int x0 = 0, int? y0, int? z0]) =>
'[ '
'${x.toStringAsFixed(x0)}, '
'${y.toStringAsFixed(y0 ?? x0)}, '
'${z.toStringAsFixed(z0 ?? x0)} '
']';