toCodeString method

  1. @override
String toCodeString()
override

Converts the position unit to a code string representation.

Returns a string that represents this position unit in code form, useful for debugging and serialization.

Implementation

@override
String toCodeString() => '${value}px';