toString method

String toString ()

Returns a string representation of this object.

Implementation

String toString() => variableName == null
    ? "Reading static variable during its initialization"
    : "Reading static variable '$variableName' during its initialization";