NbtString constructor

NbtString({
  1. required String name,
  2. required String value,
})

Creates a NbtString with given parent.

Implementation

NbtString({required String name, required String value})
    : _value = value,
      super(name, NbtTagType.TAG_STRING);