supports method

bool supports(
  1. Interfaces interface
)

Implementation

bool supports(Interfaces interface) => _supported.contains(interface);