hasExtension method

bool hasExtension(
  1. String id
)

Whether this set advertises the extension id (reverse-DNS key).

Implementation

bool hasExtension(String id) => extensions?.containsKey(id) ?? false;