addString method Null safety

void addString(
  1. String str
)

添加字符串

Implementation

void addString(String str) {
  addBytes(str.codeUnits);
}