getInterfaces method

List<LinkDeclaration> getInterfaces()

Returns the list of interfaces this type implements.

This includes all interfaces declared in the implements clause.

class MyService implements Disposable, Serializable {}

Would return both Disposable and Serializable.

Implementation

List<LinkDeclaration> getInterfaces() => [];