DEFAULT_VALUE_ON_REQUIRED_PARAMETER constant

CompileTimeErrorCode const DEFAULT_VALUE_ON_REQUIRED_PARAMETER

No parameters.

Implementation

static const CompileTimeErrorCode DEFAULT_VALUE_ON_REQUIRED_PARAMETER =
    CompileTimeErrorCode('DEFAULT_VALUE_ON_REQUIRED_PARAMETER',
        "Required named parameters can't have a default value.",
        correction: "Try removing either the default value or the 'required' "
            "modifier.")