getIsMixin method

  1. @override
bool getIsMixin()
override

Returns true if this declaration is a mixin or a mixin application.

Mixins are reusable sets of methods and fields that can be applied to classes without using inheritance.

Example

mixin Logging {}
print(loggingMixin.getIsMixin()); // true

Implementation

@override
bool getIsMixin() => _isMixin;