fromValue static method
Implementation
static PMDarwinAssetCollectionSubtype? fromValue(int? value) {
if (value == null) {
return null;
}
if (_valuesMap == null) {
_valuesMap = <int, PMDarwinAssetCollectionSubtype>{};
for (final v in PMDarwinAssetCollectionSubtype.values) {
_valuesMap![v.value] = v;
}
}
return _valuesMap![value];
}