FeatureSet constructor
FeatureSet({
- FeatureSet_FieldPresence? fieldPresence,
- FeatureSet_EnumType? enumType,
- FeatureSet_RepeatedFieldEncoding? repeatedFieldEncoding,
- FeatureSet_Utf8Validation? utf8Validation,
- FeatureSet_MessageEncoding? messageEncoding,
- FeatureSet_JsonFormat? jsonFormat,
Implementation
factory FeatureSet({
FeatureSet_FieldPresence? fieldPresence,
FeatureSet_EnumType? enumType,
FeatureSet_RepeatedFieldEncoding? repeatedFieldEncoding,
FeatureSet_Utf8Validation? utf8Validation,
FeatureSet_MessageEncoding? messageEncoding,
FeatureSet_JsonFormat? jsonFormat,
}) {
final $result = create();
if (fieldPresence != null) {
$result.fieldPresence = fieldPresence;
}
if (enumType != null) {
$result.enumType = enumType;
}
if (repeatedFieldEncoding != null) {
$result.repeatedFieldEncoding = repeatedFieldEncoding;
}
if (utf8Validation != null) {
$result.utf8Validation = utf8Validation;
}
if (messageEncoding != null) {
$result.messageEncoding = messageEncoding;
}
if (jsonFormat != null) {
$result.jsonFormat = jsonFormat;
}
return $result;
}