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() =>
    'build $buildNumber was still ${lastState ?? "not visible"} after '
    '${waited.inMinutes} minutes.\n'
    '  A build that never appears has usually been refused during '
    'processing, and\n'
    '  Apple reports that only by e-mail and in App Store Connect > '
    'Activity —\n'
    '  never through this API. Read the e-mail before uploading again: an '
    'ITMS\n'
    '  error will name the exact key or entitlement, and re-sending the same\n'
    '  artifact fails the same way.\n'
    '  If it was merely slow, re-running the upload step finds it rather '
    'than\n'
    '  transferring the artifact a second time.';