Storage.copyData constructor
Storage.copyData(})
Copies Nbt Data from a Data.get Widget.
Implementation
Storage.copyData(
this.name, {
this.autoNamespace = true,
required this.key,
required Data data,
}) : assert(key != null),
assert(data.subcommand == 'get',
'You have to insert a Data.get into copyData!'),
// ignore: prefer_initializing_formals
data = data,
_type = _StorageType.data;