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 'Metadata{COMMENT: ${COMMENT}, objectName: ${objectName}, internationalDesignator: ${internationalDesignator}, catalogName: ${catalogName}, objectDesignator: ${objectDesignator}, alternateNames: ${alternateNames}, originatorPoc: ${originatorPoc}, originatorPosition: ${originatorPosition}, originatorPhone: ${originatorPhone}, originatorEmail: ${originatorEmail}, originatorAddress: ${originatorAddress}, techOrg: ${techOrg}, techPoc: ${techPoc}, techPosition: ${techPosition}, techPhone: ${techPhone}, techEmail: ${techEmail}, techAddress: ${techAddress}, previousMessageId: ${previousMessageId}, nextMessageId: ${nextMessageId}, admMsgLink: ${admMsgLink}, cdmMsgLink: ${cdmMsgLink}, prmMsgLink: ${prmMsgLink}, rdmMsgLink: ${rdmMsgLink}, tdmMsgLink: ${tdmMsgLink}, OPERATOR: ${OPERATOR}, OWNER: ${OWNER}, COUNTRY: ${COUNTRY}, CONSTELLATION: ${CONSTELLATION}, objectType: ${objectType}, timeSystem: ${timeSystem}, epochTzero: ${epochTzero}, opsStatus: ${opsStatus}, orbitCategory: ${orbitCategory}, ocmDataElements: ${ocmDataElements}, sclkOffsetAtEpoch: ${sclkOffsetAtEpoch}, sclkSecPerSiSec: ${sclkSecPerSiSec}, previousMessageEpoch: ${previousMessageEpoch}, nextMessageEpoch: ${nextMessageEpoch}, startTime: ${startTime}, stopTime: ${stopTime}, timeSpan: ${timeSpan}, taimutcAtTzero: ${taimutcAtTzero}, nextLeapEpoch: ${nextLeapEpoch}, nextLeapTaimutc: ${nextLeapTaimutc}, ut1mutcAtTzero: ${ut1mutcAtTzero}, eopSource: ${eopSource}, interpMethodEop: ${interpMethodEop}, celestialSource: ${celestialSource}, noradCatId: ${noradCatId}}';
}