getByValue static method
Implementation
static CollectionType getByValue(num i) {
return CollectionType.values.firstWhere((x) => x.value == i);
}
static CollectionType getByValue(num i) {
return CollectionType.values.firstWhere((x) => x.value == i);
}