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 'SDI{OBSERVATORY: ${OBSERVATORY}, INSTRUMENT: ${INSTRUMENT}, MEASUREMENT: ${MEASUREMENT}, wavelengthNm: ${wavelengthNm}, imageId: ${imageId}, requestedAt: ${requestedAt}, observedAt: ${observedAt}, dateObs: ${dateObs}, timeScale: ${timeScale}, cadenceS: ${cadenceS}, exposureS: ${exposureS}, imageCid: ${imageCid}, imageMediaType: ${imageMediaType}, imageDigest: ${imageDigest}, imageSizeBytes: ${imageSizeBytes}, headerCid: ${headerCid}, WIDTH: ${WIDTH}, HEIGHT: ${HEIGHT}, CTYPE1: ${CTYPE1}, CTYPE2: ${CTYPE2}, CUNIT1: ${CUNIT1}, CUNIT2: ${CUNIT2}, CRPIX1: ${CRPIX1}, CRPIX2: ${CRPIX2}, CRVAL1: ${CRVAL1}, CRVAL2: ${CRVAL2}, CDELT1: ${CDELT1}, CDELT2: ${CDELT2}, CROTA2: ${CROTA2}, PC: ${PC}, rsunObsArcsec: ${rsunObsArcsec}, rsunRefM: ${rsunRefM}, dsunObsM: ${dsunObsM}, crlnObsDeg: ${crlnObsDeg}, crltObsDeg: ${crltObsDeg}, hglnObsDeg: ${hglnObsDeg}, hgltObsDeg: ${hgltObsDeg}, QUALITY: ${QUALITY}, hasQuality: ${hasQuality}, PROCESSING: ${PROCESSING}, PROVENANCE: ${PROVENANCE}, sourceCid: ${sourceCid}, sourceDigest: ${sourceDigest}, retrievedAt: ${retrievedAt}}';
}