MIXIN_CLASS_DECLARES_CONSTRUCTOR constant

CompileTimeErrorCode const MIXIN_CLASS_DECLARES_CONSTRUCTOR

9 Mixins: It is a compile-time error if a declared or derived mixin explicitly declares a constructor.

Parameters: 0: the name of the mixin that is invalid

Implementation

static const CompileTimeErrorCode MIXIN_CLASS_DECLARES_CONSTRUCTOR =
    CompileTimeErrorCode(
        'MIXIN_CLASS_DECLARES_CONSTRUCTOR',
        "The class '{0}' can't be used as a mixin because it declares a "
            "constructor.")