| // |
| // Generated code. Do not modify. |
| // source: test |
| // |
| // @dart = 2.12 |
| |
| // ignore_for_file: annotate_overrides, camel_case_types |
| // ignore_for_file: constant_identifier_names, library_prefixes |
| // ignore_for_file: non_constant_identifier_names, prefer_final_fields |
| // ignore_for_file: unnecessary_import, unnecessary_this, unused_import |
| |
| import 'dart:core' as $core; |
| |
| import 'package:protobuf/protobuf.dart' as $pb; |
| |
| class PhoneType extends $pb.ProtobufEnum { |
| static const PhoneType MOBILE = PhoneType._(0, _omitEnumNames ? '' : 'MOBILE'); |
| static const PhoneType HOME = PhoneType._(1, _omitEnumNames ? '' : 'HOME'); |
| static const PhoneType WORK = PhoneType._(2, _omitEnumNames ? '' : 'WORK'); |
| |
| static const PhoneType BUSINESS = WORK; |
| |
| static const $core.List<PhoneType> values = <PhoneType> [ |
| MOBILE, |
| HOME, |
| WORK, |
| ]; |
| |
| static final $core.Map<$core.int, PhoneType> _byValue = $pb.ProtobufEnum.initByValue(values); |
| static PhoneType? valueOf($core.int value) => _byValue[value]; |
| |
| const PhoneType._($core.int v, $core.String n) : super(v, n); |
| } |
| |
| |
| const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); |