StorageItemTypes.from constructor

StorageItemTypes.from(
  1. int value
)

Implementation

factory StorageItemTypes.from(int value) =>
    StorageItemTypes.values.firstWhere((e) => e.value == value,
        orElse: () => StorageItemTypes(value));