NbtInt constructor

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

Creates a NbtInt with given parent.

Implementation

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