Storage.modify constructor

Storage.modify(
  1. String name, {
  2. required String toPath,
  3. bool autoNamespace = true,
  4. required DataModify modify,
})

Modifies Nbt Data(look at Data Widget).

Implementation

Storage.modify(
  this.name, {
  required String toPath,
  this.autoNamespace = true,
  required DataModify modify,
})  : _modify = modify,
      key = toPath,
      _type = _StorageType.modify;