UNDEFINED_CONSTRUCTOR_IN_INITIALIZER constant

CompileTimeErrorCode const UNDEFINED_CONSTRUCTOR_IN_INITIALIZER

Parameters: 0: the name of the superclass that does not define the invoked constructor 1: the name of the constructor being invoked

Implementation

static const CompileTimeErrorCode UNDEFINED_CONSTRUCTOR_IN_INITIALIZER =
    CompileTimeErrorCode('UNDEFINED_CONSTRUCTOR_IN_INITIALIZER',
        "The class '{0}' doesn't have a constructor named '{1}'.",
        correction: "Try defining a constructor named '{1}' in '{0}', or "
            "invoking a different constructor.",
        hasPublishedDocs: true)