OneofDescriptorProto constructor

OneofDescriptorProto({
  1. String? name,
  2. OneofOptions? options,
})

Implementation

factory OneofDescriptorProto({
  $core.String? name,
  OneofOptions? options,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (options != null) {
    $result.options = options;
  }
  return $result;
}