NON_CONSTANT_LIST_ELEMENT constant

CompileTimeErrorCode const NON_CONSTANT_LIST_ELEMENT

No parameters.

Implementation

static const CompileTimeErrorCode NON_CONSTANT_LIST_ELEMENT =
    CompileTimeErrorCode('NON_CONSTANT_LIST_ELEMENT',
        "The values in a const list literal must be constants.",
        correction: "Try removing the keyword 'const' from the list literal.",
        hasPublishedDocs: true)