CodeGeneratorResponse constructor

CodeGeneratorResponse({
  1. String? error,
  2. Int64? supportedFeatures,
  3. Iterable<CodeGeneratorResponse_File>? file,
})

Implementation

factory CodeGeneratorResponse({
  $core.String? error,
  $fixnum.Int64? supportedFeatures,
  $core.Iterable<CodeGeneratorResponse_File>? file,
}) {
  final $result = create();
  if (error != null) {
    $result.error = error;
  }
  if (supportedFeatures != null) {
    $result.supportedFeatures = supportedFeatures;
  }
  if (file != null) {
    $result.file.addAll(file);
  }
  return $result;
}