SPREAD_EXPRESSION_FROM_DEFERRED_LIBRARY constant

CompileTimeErrorCode const SPREAD_EXPRESSION_FROM_DEFERRED_LIBRARY

Implementation

static const CompileTimeErrorCode SPREAD_EXPRESSION_FROM_DEFERRED_LIBRARY =
    CompileTimeErrorCode(
        'SPREAD_EXPRESSION_FROM_DEFERRED_LIBRARY',
        "Constant values from a deferred library can't be spread into a "
            "const literal.",
        correction: "Try making the deferred import non-deferred.")