contentDecoders top-level property

Map<String, ContentDecoder Function()> contentDecoders
final

Global registry of ContentDecoder factories.

On web the built-in gzip and deflate decoders are NOT available because they depend on dart:io. Register custom decoders via registerBrotli / registerZstd when the corresponding packages are available.

Implementation

final Map<String, ContentDecoder Function()> contentDecoders = {};