copyData method

Storage copyData(
  1. String key, {
  2. required Data data,
})

Copies Nbt Data from a Data.get Widget.

Implementation

Storage copyData(
  String key, {
  required Data data,
}) =>
    Storage.copyData(
      name,
      autoNamespace: autoNamespace,
      key: key,
      data: data,
    );