NbtByte constructor

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

Creates a NbtByte with given parent.

Implementation

NbtByte({required String name, required int value})
    : _value = value,
      super(name, NbtTagType.TAG_BYTE);