CapabilityRegistry constructor

CapabilityRegistry(
  1. Iterable<Object?> supportedCapabilities
)

Implementation

CapabilityRegistry(Iterable<Object?> supportedCapabilities)
  : _supportedCapabilities = Set.unmodifiable(
      supportedCapabilities.map(CapabilityIds.normalizeObject),
    );