enabled property Null safety

bool enabled
final

Whether WebSocket compression is enabled.

If not enabled, the remaining fields have no effect, and the compressionOff instance can, and should, be reused instead of creating a new instance with compression disabled.

Implementation

final bool enabled;