blob: 147d13d671be12a3b817dc3e63ee3224a1474ff2 [file] [log] [blame]
///
// Generated code. Do not modify.
// source: test
///
// ignore_for_file: non_constant_identifier_names,library_prefixes,unused_import
// ignore_for_file: UNDEFINED_SHOWN_NAME,UNUSED_SHOWN_NAME
import 'dart:core' show int, dynamic, String, List, Map;
import 'package:protobuf/protobuf.dart' as $pb;
class PhoneType extends $pb.ProtobufEnum {
static const PhoneType MOBILE = const PhoneType._(0, 'MOBILE');
static const PhoneType HOME = const PhoneType._(1, 'HOME');
static const PhoneType WORK = const PhoneType._(2, 'WORK');
static const PhoneType BUSINESS = WORK;
static const List<PhoneType> values = const <PhoneType> [
MOBILE,
HOME,
WORK,
];
static final Map<int, dynamic> _byValue = $pb.ProtobufEnum.initByValue(values);
static PhoneType valueOf(int value) => _byValue[value] as PhoneType;
static void $checkItem(PhoneType v) {
if (v is! PhoneType) $pb.checkItemFailed(v, 'PhoneType');
}
const PhoneType._(int v, String n) : super(v, n);
}