MISSING_DEFAULT_VALUE_FOR_PARAMETER constant

CompileTimeErrorCode const MISSING_DEFAULT_VALUE_FOR_PARAMETER

No parameters.

Implementation

static const CompileTimeErrorCode MISSING_DEFAULT_VALUE_FOR_PARAMETER =
    CompileTimeErrorCode(
        'MISSING_DEFAULT_VALUE_FOR_PARAMETER',
        "The parameter '{0}' can't have a value of 'null' because of its "
            "type, and no non-null default value is provided.",
        correction:
            "Try adding either a default value or the 'required' modifier.")