toString method

  1. @override
String toString()
override

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 'SCNDisplayStyle{dotColor: ${dotColor}, dotSize: ${dotSize}, outlineColor: ${outlineColor}, outlineWidth: ${outlineWidth}, showPath: ${showPath}, pathRelativeTo: ${pathRelativeTo}, pathColor: ${pathColor}, pathWidth: ${pathWidth}, pathAheadMin: ${pathAheadMin}, pathBehindMin: ${pathBehindMin}, showLabel: ${showLabel}, labelColor: ${labelColor}, labelSize: ${labelSize}, labelOpacity: ${labelOpacity}, showRicAxes: ${showRicAxes}, ricAxesLengthKm: ${ricAxesLengthKm}, showModel: ${showModel}, showCovariance: ${showCovariance}, showSelector: ${showSelector}, showSelectorLabel: ${showSelectorLabel}, selectorColor: ${selectorColor}, selectorWidth: ${selectorWidth}, selectorSegments: ${selectorSegments}, selectorFill: ${selectorFill}, selectorBinding: ${selectorBinding}, selectorMin: ${selectorMin}, selectorMax: ${selectorMax}, orientRadialDeg: ${orientRadialDeg}, orientCrossTrackDeg: ${orientCrossTrackDeg}, orientInTrackDeg: ${orientInTrackDeg}, labelCount: ${labelCount}, ricAxesCount: ${ricAxesCount}, modelCount: ${modelCount}, covarianceCount: ${covarianceCount}}';
}