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 'OOE{ID: ${ID}, satNo: ${satNo}, origObjectId: ${origObjectId}, derivedFrom: ${derivedFrom}, declassificationDate: ${declassificationDate}, declassificationString: ${declassificationString}, eventTime: ${eventTime}, eventTimeNotes: ${eventTimeNotes}, CATEGORY: ${CATEGORY}, RESULT: ${RESULT}, eventType: ${eventType}, operatorOrgId: ${operatorOrgId}, ownerOrgId: ${ownerOrgId}, lesseeOrgId: ${lesseeOrgId}, operatedOnBehalfOfOrgId: ${operatedOnBehalfOfOrgId}, geoPosition: ${geoPosition}, planeSlot: ${planeSlot}, planeNumber: ${planeNumber}, positionStatus: ${positionStatus}, untilTime: ${untilTime}, officialLossDate: ${officialLossDate}, netAmount: ${netAmount}, underlyingCause: ${underlyingCause}, capabilityLoss: ${capabilityLoss}, capacityLoss: ${capacityLoss}, insuranceLoss: ${insuranceLoss}, thirdPartyInsuranceLoss: ${thirdPartyInsuranceLoss}, INJURED: ${INJURED}, KILLED: ${KILLED}, ageAtEvent: ${ageAtEvent}, lifeLost: ${lifeLost}, achievedFlightPhase: ${achievedFlightPhase}, occurrenceFlightPhase: ${occurrenceFlightPhase}, stageAtFault: ${stageAtFault}, equipmentAtFault: ${equipmentAtFault}, equipmentTypeAtFault: ${equipmentTypeAtFault}, equipmentPartAtFault: ${equipmentPartAtFault}, consequentialEquipmentFailure: ${consequentialEquipmentFailure}, INCLINED: ${INCLINED}, DESCRIPTION: ${DESCRIPTION}, REMARKS: ${REMARKS}, objectStatus: ${objectStatus}, satellitePosition: ${satellitePosition}, onOrbit: ${onOrbit}}';
}