isValidMixin property

bool get isValidMixin
inherited

Return true if this class can validly be used as a mixin when defining another class. For classes defined by a mixin declaration, the result is always true. For classes defined by a class declaration or a mixin application, the behavior of this method is defined by the Dart Language Specification in section 9:

It is a compile-time error if a declared or derived mixin refers to super. It is a compile-time error if a declared or derived mixin explicitly declares a constructor. It is a compile-time error if a mixin is derived from a class whose superclass is not Object.
TODO(scheglov) Deprecate and remove it.

Implementation

bool get isValidMixin;