static UAType? getByValue(int value) { return UAType.values.firstWhereOrNull((type) => type.value == value); }