toString method

String toString ()
override

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";