DUPLICATE_DEFINITION constant

CompileTimeErrorCode const DUPLICATE_DEFINITION

Parameters: 0: the name of the duplicate entity

Implementation

static const CompileTimeErrorCode DUPLICATE_DEFINITION = CompileTimeErrorCode(
    'DUPLICATE_DEFINITION', "The name '{0}' is already defined.",
    correction: "Try renaming one of the declarations.",
    hasPublishedDocs: true)