getMixins method

  1. @override
List<LinkDeclaration> getMixins()
override

Returns the list of mixin identities that are applied to this type.

This includes all mixins directly used in class declarations:

class MyService with LoggingMixin {}

In this case, LoggingMixin would appear in the result.

Implementation

@override
List<LinkDeclaration> getMixins() => UnmodifiableListView(_mixins);