String toString()

Returns a string representation of this object.

Source

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