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