addInterface method

void addInterface(
  1. NamedDartType interface
)

Adds an interface type to this element.

Implementation

void addInterface(NamedDartType interface) {
  _interfaces.add(interface);
}