WsStream constructor Null safety

const WsStream(
  1. {String path = '',
  2. Map<String, String>? pathRegEx,
  3. int? statusCode,
  4. String? mimeType,
  5. String? charset = kDefaultCharset,
  6. ResponseProcessor? responseProcessor}
)

Implementation

const WsStream(
    {this.path = '',
    this.pathRegEx,
    this.statusCode,
    this.mimeType,
    this.charset = kDefaultCharset,
    this.responseProcessor});