CyclicInitializationError class

Error thrown when a lazily initialized variable cannot be initialized.

Error thrown when a lazily initialized variable cannot be initialized.

A static/library variable with an initializer expression is initialized the first time it is read. If evaluating the initializer expression causes another read of the variable, this error is thrown.

Extends

Constructors

CyclicInitializationError([String variableName])

Instance Properties

variableName String
read-only
stackTrace StackTrace Inherited
read-only

Instance Methods

toString() → String
Returns a string representation of this object.