MIXIN_INHERITS_FROM_NOT_OBJECT constant

CompileTimeErrorCode const MIXIN_INHERITS_FROM_NOT_OBJECT

9 Mixins: It is a compile-time error if a mixin is derived from a class whose superclass is not Object.

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

Implementation

static const CompileTimeErrorCode MIXIN_INHERITS_FROM_NOT_OBJECT =
    CompileTimeErrorCode(
        'MIXIN_INHERITS_FROM_NOT_OBJECT',
        "The class '{0}' can't be used as a mixin because it extends a class "
            "other than Object.")