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 'PhysicalProperties{COMMENT: ${COMMENT}, wetMass: ${wetMass}, dryMass: ${dryMass}, massUnits: ${massUnits}, oebQ1: ${oebQ1}, oebQ2: ${oebQ2}, oebQ3: ${oebQ3}, oebQc: ${oebQc}, oebMax: ${oebMax}, oebInt: ${oebInt}, oebMin: ${oebMin}, areaAlongOebMax: ${areaAlongOebMax}, areaAlongOebInt: ${areaAlongOebInt}, areaAlongOebMin: ${areaAlongOebMin}, areaUnits: ${areaUnits}, dragConstArea: ${dragConstArea}, dragCoeffNom: ${dragCoeffNom}, dragUncertainty: ${dragUncertainty}, srpConstArea: ${srpConstArea}, solarRadCoeff: ${solarRadCoeff}, srpUncertainty: ${srpUncertainty}, MANUFACTURER: ${MANUFACTURER}, busModel: ${busModel}, dockedWith: ${dockedWith}, initialWetMass: ${initialWetMass}, oebParentFrame: ${oebParentFrame}, oebParentFrameEpoch: ${oebParentFrameEpoch}, areaMinForPc: ${areaMinForPc}, areaMaxForPc: ${areaMaxForPc}, areaTypForPc: ${areaTypForPc}, RCS: ${RCS}, rcsMin: ${rcsMin}, rcsMax: ${rcsMax}, vmAbsolute: ${vmAbsolute}, vmApparentMin: ${vmApparentMin}, vmApparent: ${vmApparent}, vmApparentMax: ${vmApparentMax}, REFLECTANCE: ${REFLECTANCE}, attControlMode: ${attControlMode}, attActuatorType: ${attActuatorType}, attKnowledge: ${attKnowledge}, attControl: ${attControl}, attPointing: ${attPointing}, avgManeuverFreq: ${avgManeuverFreq}, maxThrust: ${maxThrust}, dvBol: ${dvBol}, dvRemaining: ${dvRemaining}, IXX: ${IXX}, IYY: ${IYY}, IZZ: ${IZZ}, IXY: ${IXY}, IXZ: ${IXZ}, IYZ: ${IYZ}}';
}