MISSING_CONST_IN_SET_LITERAL constant

CompileTimeErrorCode const MISSING_CONST_IN_SET_LITERAL

12.1 Constants: A constant expression is ... a constant set literal.

Implementation

static const CompileTimeErrorCode MISSING_CONST_IN_SET_LITERAL =
    CompileTimeErrorCode(
        'MISSING_CONST_IN_SET_LITERAL',
        "Set literals must be prefixed with 'const' when used as a constant "
            "expression.",
        correction: "Try adding the keyword 'const' before the literal.")