writeTag method Null safety

void writeTag(
  1. NbtWriter nbtWriter,
  2. {bool withName = true,
  3. bool withType = true}
)

Writes a NbtTag from fileReader. If the parent is a NbtList or NbtArray, withName should be set to false to avoid writing any names of this Tag.

Implementation

void writeTag(NbtWriter nbtWriter,
    {bool withName = true, bool withType = true});