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 'LAM{messageId: ${messageId}, creationDate: ${creationDate}, ORIGINATOR: ${ORIGINATOR}, missionName: ${missionName}, vehicleName: ${vehicleName}, timeSystem: ${timeSystem}, refFrame: ${refFrame}, launchEpoch: ${launchEpoch}, startTime: ${startTime}, stopTime: ${stopTime}, stepSize: ${stepSize}, launchData: ${launchData}, rocketConfiguration: ${rocketConfiguration}, eventRecords: ${eventRecords}, DETECTIONS: ${DETECTIONS}, boostTracks: ${boostTracks}, burnOutVectors: ${burnOutVectors}, trajectoryOem: ${trajectoryOem}, trajectoryOcm: ${trajectoryOcm}, ATMOSPHERE: ${ATMOSPHERE}, hypersonicConditions: ${hypersonicConditions}, propagatorName: ${propagatorName}, propagatorVersion: ${propagatorVersion}, guidanceModel: ${guidanceModel}, thrustModel: ${thrustModel}, aerodynamicModel: ${aerodynamicModel}, PHASE: ${PHASE}, constraintStatus: ${constraintStatus}, timeFromLaunchS: ${timeFromLaunchS}, latitudeDeg: ${latitudeDeg}, longitudeDeg: ${longitudeDeg}, altitudeM: ${altitudeM}, downrangeM: ${downrangeM}, speedMPerS: ${speedMPerS}, MACH: ${MACH}, dynamicPressurePa: ${dynamicPressurePa}, heatFluxWPerM2: ${heatFluxWPerM2}, massKg: ${massKg}, thrustN: ${thrustN}, accelerationG: ${accelerationG}, pitchDeg: ${pitchDeg}, flightPathAngleDeg: ${flightPathAngleDeg}, iipLatitudeDeg: ${iipLatitudeDeg}, iipLongitudeDeg: ${iipLongitudeDeg}, maxDynamicPressurePa: ${maxDynamicPressurePa}, maxDynamicPressureEpoch: ${maxDynamicPressureEpoch}, maxHeatFluxWPerM2: ${maxHeatFluxWPerM2}, maxHeatFluxEpoch: ${maxHeatFluxEpoch}, orbitInsertionEpoch: ${orbitInsertionEpoch}, apoapsisM: ${apoapsisM}, periapsisM: ${periapsisM}, inclinationDeg: ${inclinationDeg}, payloadInjectionErrorMPerS: ${payloadInjectionErrorMPerS}, ascentEvents: ${ascentEvents}, constraintViolations: ${constraintViolations}, ASSUMPTIONS: ${ASSUMPTIONS}, COMMENT: ${COMMENT}, targetOrbit: ${targetOrbit}, trajectorySource: ${trajectorySource}, speedReference: ${speedReference}, INSERTION: ${INSERTION}, instantaneousPeriapsisAltitudeM: ${instantaneousPeriapsisAltitudeM}, instantaneousApoapsisAltitudeM: ${instantaneousApoapsisAltitudeM}, inPlaneLiftoffEpochs: ${inPlaneLiftoffEpochs}}';
}