PackItem<T>.fromRaw constructor

PackItem<T>.fromRaw({
  1. required SetonixData pack,
  2. required String namespace,
  3. required String path,
  4. required T item,
})

Implementation

factory PackItem.fromRaw(
        {required SetonixData pack,
        required String namespace,
        required String path,
        required T item}) =>
    PackItem(
      item: item,
      pack: pack,
      location: ItemLocation(namespace, path),
    );