XmlWriter constructor Null safety

XmlWriter(
  1. StringSink buffer,
  2. {XmlEntityMapping? entityMapping}
)

Implementation

XmlWriter(this.buffer, {XmlEntityMapping? entityMapping})
    : entityMapping = entityMapping ?? defaultEntityMapping;