factoryConfig property

FactoryConfig factoryConfig
final

Implementation

static final FactoryConfig factoryConfig = DynamicFactoryConfig.suffix(
  Mac,
  '/HMAC',
  (_, Match match) {
    final digestName = match.group(1);
    return () {
      return HMac.withDigest(Digest(digestName!));
    };
  },
);