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 'SAR{ID: ${ID}, satNo: ${satNo}, origObjectId: ${origObjectId}, onOrbit: ${onOrbit}, idSensor: ${idSensor}, origSensorId: ${origSensorId}, externalId: ${externalId}, collectionId: ${collectionId}, detectionId: ${detectionId}, collectionStart: ${collectionStart}, collectionEnd: ${collectionEnd}, centerTime: ${centerTime}, detectionStart: ${detectionStart}, detectionEnd: ${detectionEnd}, dwellTime: ${dwellTime}, orbitState: ${orbitState}, sarMode: ${sarMode}, operatingBand: ${operatingBand}, operatingFreq: ${operatingFreq}, SNR: ${SNR}, txPolarization: ${txPolarization}, rxPolarization: ${rxPolarization}, grazeAngle: ${grazeAngle}, incidenceAngle: ${incidenceAngle}, squintAngle: ${squintAngle}, pulseBandwidth: ${pulseBandwidth}, pulseDuration: ${pulseDuration}, continuousSpotAngle: ${continuousSpotAngle}, slantRange: ${slantRange}, nearRange: ${nearRange}, farRange: ${farRange}, swathLength: ${swathLength}, AGJSON: ${AGJSON}, ATEXT: ${ATEXT}, ATYPE: ${ATYPE}, coordSys: ${coordSys}, spacingRange: ${spacingRange}, spacingAzimuth: ${spacingAzimuth}, looksAzimuth: ${looksAzimuth}, looksRange: ${looksRange}, resolutionRange: ${resolutionRange}, resolutionAzimuth: ${resolutionAzimuth}, obDirection: ${obDirection}, TARGETPOSX: ${TARGETPOSX}, TARGETPOSY: ${TARGETPOSY}, TARGETPOSZ: ${TARGETPOSZ}, SENALT: ${SENALT}, SENVELX: ${SENVELX}, SENVELY: ${SENVELY}, SENVELZ: ${SENVELZ}, senlatStart: ${senlatStart}, senlonStart: ${senlonStart}, senlatEnd: ${senlatEnd}, senlonEnd: ${senlonEnd}, transactionId: ${transactionId}, TAGS: ${TAGS}, srcTyps: ${srcTyps}, srcIds: ${srcIds}}';
}