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;
}