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