ServiceOptions.deserialize constructor
Implementation
factory ServiceOptions.deserialize(List<int> bytes) {
final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
return ServiceOptions(
features: decode.messageTo<FeatureSet?>(
34,
(b) => FeatureSet.deserialize(b),
),
deprecated: decode.getBool<bool?>(33),
uninterpretedOption:
decode
.getListOfBytes(999)
.map((b) => UninterpretedOption.deserialize(b))
.toList(),
);
}