blob: b8c40586e8c07a097f186a242c42eb9d26183ca1 [file] [log] [blame]
class PhoneNumber_PhoneType extends ProtobufEnum {
static const PhoneNumber_PhoneType MOBILE = const PhoneNumber_PhoneType._(0, 'MOBILE');
static const PhoneNumber_PhoneType HOME = const PhoneNumber_PhoneType._(1, 'HOME');
static const PhoneNumber_PhoneType WORK = const PhoneNumber_PhoneType._(2, 'WORK');
static const PhoneNumber_PhoneType BUSINESS = WORK;
static const List<PhoneNumber_PhoneType> values = const <PhoneNumber_PhoneType> [
MOBILE,
HOME,
WORK,
];
static final Map<int, dynamic> _byValue = ProtobufEnum.initByValue(values);
static PhoneNumber_PhoneType valueOf(int value) => _byValue[value] as PhoneNumber_PhoneType;
static void $checkItem(PhoneNumber_PhoneType v) {
if (v is! PhoneNumber_PhoneType) checkItemFailed(v, 'PhoneNumber_PhoneType');
}
const PhoneNumber_PhoneType._(int v, String n) : super(v, n);
}