AMBIGUOUS_SET_OR_MAP_LITERAL_BOTH constant

CompileTimeErrorCode const AMBIGUOUS_SET_OR_MAP_LITERAL_BOTH

No parameters.

Implementation

static const CompileTimeErrorCode AMBIGUOUS_SET_OR_MAP_LITERAL_BOTH =
    CompileTimeErrorCode(
        'AMBIGUOUS_SET_OR_MAP_LITERAL_BOTH',
        "This literal contains both 'Map' and 'Iterable' spreads, "
            "which makes it impossible to determine whether the literal is "
            "a map or a set.",
        correction:
            "Try removing or changing some of the elements so that all of "
            "the elements are consistent.",
        hasPublishedDocs: true)