Header constructor Null safety

Header(
  1. String name,
  2. String? value,
  3. [HeaderEncoding encoding = HeaderEncoding.none]
)

Implementation

Header(this.name, this.value, [this.encoding = HeaderEncoding.none]) {
  lowerCaseName = name.toLowerCase();
}