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 'HFC{messageId: ${messageId}, creationDate: ${creationDate}, ORIGINATOR: ${ORIGINATOR}, objectName: ${objectName}, timeSystem: ${timeSystem}, refFrame: ${refFrame}, startTime: ${startTime}, stopTime: ${stopTime}, stepSize: ${stepSize}, sourceOem: ${sourceOem}, sourceOcm: ${sourceOcm}, ATMOSPHERE: ${ATMOSPHERE}, atmosphereProvider: ${atmosphereProvider}, atmosphereModelRevision: ${atmosphereModelRevision}, atmosphereCoupling: ${atmosphereCoupling}, aerothermalModel: ${aerothermalModel}, gasModel: ${gasModel}, flowRegime: ${flowRegime}, stateVectorSize: ${stateVectorSize}, stateData: ${stateData}, sampleEpochs: ${sampleEpochs}, latitudeDeg: ${latitudeDeg}, longitudeDeg: ${longitudeDeg}, altitudeM: ${altitudeM}, speedMPerS: ${speedMPerS}, MACH: ${MACH}, dynamicPressurePa: ${dynamicPressurePa}, densityKgPerM3: ${densityKgPerM3}, temperatureK: ${temperatureK}, pressurePa: ${pressurePa}, speedOfSoundMPerS: ${speedOfSoundMPerS}, knudsenNumber: ${knudsenNumber}, reynoldsNumber: ${reynoldsNumber}, convectiveHeatFluxWPerM2: ${convectiveHeatFluxWPerM2}, radiativeHeatFluxWPerM2: ${radiativeHeatFluxWPerM2}, stagnationHeatFluxWPerM2: ${stagnationHeatFluxWPerM2}, loadFactorG: ${loadFactorG}, angleOfAttackDeg: ${angleOfAttackDeg}, sideslipDeg: ${sideslipDeg}, bankAngleDeg: ${bankAngleDeg}, referenceAreaM2: ${referenceAreaM2}, referenceLengthM: ${referenceLengthM}, noseRadiusM: ${noseRadiusM}, massKg: ${massKg}, surfaceTemperatureK: ${surfaceTemperatureK}, ASSUMPTIONS: ${ASSUMPTIONS}, COMMENT: ${COMMENT}, windNorthMPerS: ${windNorthMPerS}, windEastMPerS: ${windEastMPerS}, windModel: ${windModel}}';
}