NbtDouble constructor Null safety

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

Creates a NbtDouble with given parent.

Implementation

NbtDouble({required String name, required double value})
    : _value = value,
      super(name, NbtTagType.TAG_DOUBLE);