RedactionSink constructor

RedactionSink(
  1. StringSink _inner, {
  2. DenyList? denyList,
  3. Map<String, String>? environment,
})

Creates a RedactionSink wrapping _inner.

Implementation

RedactionSink(
  this._inner, {
  DenyList? denyList,
  Map<String, String>? environment,
}) : _denyList = denyList ?? defaultDenyList,
     _environment = environment ?? Platform.environment;