MessageOptions constructor

MessageOptions({
  1. bool? messageSetWireFormat,
  2. bool? noStandardDescriptorAccessor,
  3. bool? deprecated,
  4. bool? mapEntry,
  5. Iterable<UninterpretedOption>? uninterpretedOption,
})

Implementation

factory MessageOptions({
  $core.bool? messageSetWireFormat,
  $core.bool? noStandardDescriptorAccessor,
  $core.bool? deprecated,
  $core.bool? mapEntry,
  $core.Iterable<UninterpretedOption>? uninterpretedOption,
}) {
  final $result = create();
  if (messageSetWireFormat != null) {
    $result.messageSetWireFormat = messageSetWireFormat;
  }
  if (noStandardDescriptorAccessor != null) {
    $result.noStandardDescriptorAccessor = noStandardDescriptorAccessor;
  }
  if (deprecated != null) {
    $result.deprecated = deprecated;
  }
  if (mapEntry != null) {
    $result.mapEntry = mapEntry;
  }
  if (uninterpretedOption != null) {
    $result.uninterpretedOption.addAll(uninterpretedOption);
  }
  return $result;
}