CppFeatures constructor

CppFeatures({
  1. bool? legacyClosedEnum,
  2. CppFeatures_StringType? stringType,
  3. bool? enumNameUsesStringView,
})

Implementation

factory CppFeatures({
  $core.bool? legacyClosedEnum,
  CppFeatures_StringType? stringType,
  $core.bool? enumNameUsesStringView,
}) {
  final $result = create();
  if (legacyClosedEnum != null) {
    $result.legacyClosedEnum = legacyClosedEnum;
  }
  if (stringType != null) {
    $result.stringType = stringType;
  }
  if (enumNameUsesStringView != null) {
    $result.enumNameUsesStringView = enumNameUsesStringView;
  }
  return $result;
}