INITIALIZING_FORMAL_FOR_NON_EXISTENT_FIELD constant

CompileTimeErrorCode const INITIALIZING_FORMAL_FOR_NON_EXISTENT_FIELD

Parameters: 0: the name of the initializing formal that is not an instance variable in the immediately enclosing class

Implementation

static const CompileTimeErrorCode INITIALIZING_FORMAL_FOR_NON_EXISTENT_FIELD =
    CompileTimeErrorCode('INITIALIZING_FORMAL_FOR_NON_EXISTENT_FIELD',
        "'{0}' isn't a field in the enclosing class.",
        correction: "Try correcting the name to match an existing field, or "
            "defining a field named '{0}'.",
        hasPublishedDocs: true)