You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -30,8 +30,8 @@ class Scheme extends $pb.ProtobufEnum {
|
||||
WSS,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, Scheme> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static Scheme? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<Scheme?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4);
|
||||
static Scheme? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const Scheme._(super.v, super.n);
|
||||
}
|
||||
@@ -57,8 +57,8 @@ class JSONSchema_JSONSchemaSimpleTypes extends $pb.ProtobufEnum {
|
||||
STRING,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, JSONSchema_JSONSchemaSimpleTypes> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static JSONSchema_JSONSchemaSimpleTypes? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<JSONSchema_JSONSchemaSimpleTypes?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 7);
|
||||
static JSONSchema_JSONSchemaSimpleTypes? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const JSONSchema_JSONSchemaSimpleTypes._(super.v, super.n);
|
||||
}
|
||||
@@ -78,8 +78,8 @@ class SecurityScheme_Type extends $pb.ProtobufEnum {
|
||||
TYPE_OAUTH2,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, SecurityScheme_Type> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static SecurityScheme_Type? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<SecurityScheme_Type?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
|
||||
static SecurityScheme_Type? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const SecurityScheme_Type._(super.v, super.n);
|
||||
}
|
||||
@@ -96,8 +96,8 @@ class SecurityScheme_In extends $pb.ProtobufEnum {
|
||||
IN_HEADER,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, SecurityScheme_In> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static SecurityScheme_In? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<SecurityScheme_In?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static SecurityScheme_In? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const SecurityScheme_In._(super.v, super.n);
|
||||
}
|
||||
@@ -119,8 +119,8 @@ class SecurityScheme_Flow extends $pb.ProtobufEnum {
|
||||
FLOW_ACCESS_CODE,
|
||||
];
|
||||
|
||||
static final $core.Map<$core.int, SecurityScheme_Flow> _byValue = $pb.ProtobufEnum.initByValue(values);
|
||||
static SecurityScheme_Flow? valueOf($core.int value) => _byValue[value];
|
||||
static final $core.List<SecurityScheme_Flow?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4);
|
||||
static SecurityScheme_Flow? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const SecurityScheme_Flow._(super.v, super.n);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user