toString method
A string representation of this object.
Some classes have a default textual representation,
often paired with a static parse function (like int.parse).
These classes will provide the textual representation as
their string representation.
Other classes have no meaningful textual representation
that a program will care about.
Such classes will typically override toString to provide
useful information when inspecting the object,
mainly for debugging or logging.
Implementation
@override
String toString() {
return 'PartState{updateFlag: ${updateFlag}, positionX: ${positionX}, positionY: ${positionY}, positionZ: ${positionZ}, rotationX: ${rotationX}, rotationY: ${rotationY}, rotationZ: ${rotationZ}, scaleX: ${scaleX}, scaleY: ${scaleY}, localScaleX: ${localScaleX}, localScaleY: ${localScaleY}, alpha: ${alpha}, localAlpha: ${localAlpha}, priority: ${priority}, pivotX: ${pivotX}, pivotY: ${pivotY}, anchorX: ${anchorX}, anchorY: ${anchorY}, sizeX: ${sizeX}, sizeY: ${sizeY}, uvTranslationX: ${uvTranslationX}, uvTranslationY: ${uvTranslationY}, uvRotationZ: ${uvRotationZ}, uvScaleX: ${uvScaleX}, uvScaleY: ${uvScaleY}, boundingRadius: ${boundingRadius}, mask: ${mask}, skewX: ${skewX}, skewY: ${skewY}, texture: ${texture}, partIndex: ${partIndex}, cell: ${cell}, partColor: ${partColor}, shader: ${shader}, vertex: ${vertex}, deform: ${deform}, flipH: ${flipH}, flipV: ${flipV}, \$hide: ${$hide}, imgFlipH: ${imgFlipH}, imgFlipV: ${imgFlipV}}';
}