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 'AVL{ID: ${ID}, DESIGNATOR: ${DESIGNATOR}, NAME: ${NAME}, airspaceClass: ${airspaceClass}, volumeType: ${volumeType}, countryCode: ${countryCode}, floorValue: ${floorValue}, floorDatum: ${floorDatum}, ceilingValue: ${ceilingValue}, ceilingDatum: ${ceilingDatum}, effectiveFrom: ${effectiveFrom}, effectiveTo: ${effectiveTo}, timeOfActivity: ${timeOfActivity}, vertexLongitudeDeg: ${vertexLongitudeDeg}, vertexLatitudeDeg: ${vertexLatitudeDeg}, ringOffsets: ${ringOffsets}, ringPolygonIndexes: ${ringPolygonIndexes}, ringRoles: ${ringRoles}, polygonCount: ${polygonCount}, arcDensified: ${arcDensified}, densificationToleranceM: ${densificationToleranceM}, SOURCE: ${SOURCE}, notamId: ${notamId}, notamType: ${notamType}, supersedesId: ${supersedesId}, qCode: ${qCode}, FIR: ${FIR}, rawText: ${rawText}, effectiveToEstimated: ${effectiveToEstimated}, PERMANENT: ${PERMANENT}}';
}