You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -27,8 +27,8 @@ class KnownRegex extends $pb.ProtobufEnum {
|
||||
HTTP_HEADER_VALUE,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, KnownRegex> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static KnownRegex? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<KnownRegex?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static KnownRegex? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const KnownRegex._(super.v, super.n);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user