123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- ///
- // Generated code. Do not modify.
- // source: observable.proto
- //
- // @dart = 2.12
- // ignore_for_file: annotate_overrides,camel_case_types,unnecessary_const,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type,unnecessary_this,prefer_final_fields
- // ignore_for_file: UNDEFINED_SHOWN_NAME
- import 'dart:core' as $core;
- import 'package:protobuf/protobuf.dart' as $pb;
- class UserNotification extends $pb.ProtobufEnum {
- static const UserNotification Unknown = UserNotification._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Unknown');
- static const UserNotification UserAuthChanged = UserNotification._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UserAuthChanged');
- static const UserNotification UserProfileUpdated = UserNotification._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UserProfileUpdated');
- static const UserNotification UserUnauthorized = UserNotification._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UserUnauthorized');
- static const UserNotification UserWsConnectStateChanged = UserNotification._(4, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UserWsConnectStateChanged');
- static const $core.List<UserNotification> values = <UserNotification> [
- Unknown,
- UserAuthChanged,
- UserProfileUpdated,
- UserUnauthorized,
- UserWsConnectStateChanged,
- ];
- static final $core.Map<$core.int, UserNotification> _byValue = $pb.ProtobufEnum.initByValue(values);
- static UserNotification? valueOf($core.int value) => _byValue[value];
- const UserNotification._($core.int v, $core.String n) : super(v, n);
- }
- class NetworkType extends $pb.ProtobufEnum {
- static const NetworkType UnknownNetworkType = NetworkType._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'UnknownNetworkType');
- static const NetworkType Wifi = NetworkType._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Wifi');
- static const NetworkType Cell = NetworkType._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Cell');
- static const NetworkType Ethernet = NetworkType._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'Ethernet');
- static const $core.List<NetworkType> values = <NetworkType> [
- UnknownNetworkType,
- Wifi,
- Cell,
- Ethernet,
- ];
- static final $core.Map<$core.int, NetworkType> _byValue = $pb.ProtobufEnum.initByValue(values);
- static NetworkType? valueOf($core.int value) => _byValue[value];
- const NetworkType._($core.int v, $core.String n) : super(v, n);
- }
|