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 'CVP{coverageId: ${coverageId}, NAME: ${NAME}, scenarioId: ${scenarioId}, geometryKind: ${geometryKind}, METRIC: ${METRIC}, metricUnits: ${metricUnits}, thresholdValue: ${thresholdValue}, thresholdUnits: ${thresholdUnits}, thresholdComparison: ${thresholdComparison}, EPOCH: ${EPOCH}, intervalStart: ${intervalStart}, intervalStop: ${intervalStop}, timeSystem: ${timeSystem}, GENERATION: ${GENERATION}, supersedesCoverageId: ${supersedesCoverageId}, vertexLongitudeDeg: ${vertexLongitudeDeg}, vertexLatitudeDeg: ${vertexLatitudeDeg}, vertexAltitudeM: ${vertexAltitudeM}, altitudeReference: ${altitudeReference}, fixedAltitudeM: ${fixedAltitudeM}, ringOffsets: ${ringOffsets}, ringPolygonIndexes: ${ringPolygonIndexes}, ringRoles: ${ringRoles}, polygonCount: ${polygonCount}, polygonLevelValues: ${polygonLevelValues}, polygonLevelUncertainties: ${polygonLevelUncertainties}, polygonAreaKm2: ${polygonAreaKm2}, vertexPositionUncertaintyM: ${vertexPositionUncertaintyM}, gridScheme: ${gridScheme}, gridResolution: ${gridResolution}, gridSpacingDeg: ${gridSpacingDeg}, gridCellCount: ${gridCellCount}, cvgCoverageId: ${cvgCoverageId}, rflId: ${rflId}, aciId: ${aciId}, contributingEmitters: ${contributingEmitters}, receiverSetId: ${receiverSetId}, RECEIVERS: ${RECEIVERS}, contributingObstacles: ${contributingObstacles}, obstacleSetId: ${obstacleSetId}, limitingConstraint: ${limitingConstraint}, limitingConstraintNote: ${limitingConstraintNote}, UNCERTAINTY: ${UNCERTAINTY}, PROVENANCE: ${PROVENANCE}, computedAt: ${computedAt}, producerId: ${producerId}, SIGNATURE: ${SIGNATURE}}';
}