supports method

bool supports(
  1. String code
)

Whether the native side advertises code.

Implementation

bool supports(String code) => capabilityCodes.contains(code);