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 'Perturbations{COMMENT: ${COMMENT}, atmosphericModel: ${atmosphericModel}, gravityModel: ${gravityModel}, gravityDegree: ${gravityDegree}, gravityOrder: ${gravityOrder}, GM: ${GM}, nBodyPerturbations: ${nBodyPerturbations}, oceanTidesModel: ${oceanTidesModel}, solidTidesModel: ${solidTidesModel}, atmosphericTidesModel: ${atmosphericTidesModel}, geopotentialModel: ${geopotentialModel}, solarRadPressure: ${solarRadPressure}, ALBEDO: ${ALBEDO}, THERMAL: ${THERMAL}, RELATIVITY: ${RELATIVITY}, atmosphericDrag: ${atmosphericDrag}, fixedGeomagKp: ${fixedGeomagKp}, fixedF10p7: ${fixedF10p7}, fixedF10p7Mean: ${fixedF10p7Mean}, fixedGeomagAp: ${fixedGeomagAp}, atmosphericModelName: ${atmosphericModelName}, equatorialRadius: ${equatorialRadius}, centralBodyRotation: ${centralBodyRotation}, oblateFlattening: ${oblateFlattening}, reductionTheory: ${reductionTheory}, albedoGridSize: ${albedoGridSize}, shadowModel: ${shadowModel}, shadowBodies: ${shadowBodies}, swDataSource: ${swDataSource}, swDataEpoch: ${swDataEpoch}, swInterpMethod: ${swInterpMethod}, fixedGeomagDst: ${fixedGeomagDst}, fixedM10p7: ${fixedM10p7}, fixedM10p7Mean: ${fixedM10p7Mean}, fixedS10p7: ${fixedS10p7}, fixedS10p7Mean: ${fixedS10p7Mean}, fixedY10p7: ${fixedY10p7}, fixedY10p7Mean: ${fixedY10p7Mean}, maximumTesseralDegree: ${maximumTesseralDegree}, maximumZonalDegree: ${maximumZonalDegree}, weatherSource: ${weatherSource}, densityCorrection: ${densityCorrection}, densityCorrectionCid: ${densityCorrectionCid}, spaceWeather: ${spaceWeather}, densityCorrectionNodeTimesMs: ${densityCorrectionNodeTimesMs}, densityCorrectionLogDensityScaleDimensionless: ${densityCorrectionLogDensityScaleDimensionless}, reductionTheoryTerms: ${reductionTheoryTerms}}';
}