NbtLong constructor

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

Creates a NbtLong with given parent.

Implementation

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