Storage constructor

Storage(
  1. String name, {
  2. bool autoNamespace = true,
})

The Storage Widget gives you easy tools to store and receive nbt data globally. A Store takes in a name, by default it already uses the current pack namespace. Example:

var storage = Storage('mystorage',autoNamespace:true)

Implementation

/// **Example:**
/// ```dart
/// var storage = Storage('mystorage',autoNamespace:true)
/// ```
Storage(
  this.name, {
  this.autoNamespace = true,
});