DUPLICATE_NAMED_ARGUMENT constant

CompileTimeErrorCode const DUPLICATE_NAMED_ARGUMENT

Parameters: 0: the name of the parameter that was duplicated

Implementation

static const CompileTimeErrorCode DUPLICATE_NAMED_ARGUMENT =
    CompileTimeErrorCode('DUPLICATE_NAMED_ARGUMENT',
        "The argument for the named parameter '{0}' was already specified.",
        correction: "Try removing one of the named arguments, or "
            "correcting one of the names to reference a different named "
            "parameter.",
        hasPublishedDocs: true)