DataLabelingJob constructor

DataLabelingJob({
  1. String name = '',
  2. required String displayName,
  3. required List<String> datasets,
  4. Map<String, String> annotationLabels = const {},
  5. required int labelerCount,
  6. required String instructionUri,
  7. required String inputsSchemaUri,
  8. required Value? inputs,
  9. JobState state = JobState.$default,
  10. int labelingProgress = 0,
  11. Money? currentSpend,
  12. Timestamp? createTime,
  13. Timestamp? updateTime,
  14. Status? error,
  15. Map<String, String> labels = const {},
  16. List<String> specialistPools = const [],
  17. EncryptionSpec? encryptionSpec,
  18. ActiveLearningConfig? activeLearningConfig,
})

Implementation

DataLabelingJob({
  this.name = '',
  required this.displayName,
  required this.datasets,
  this.annotationLabels = const {},
  required this.labelerCount,
  required this.instructionUri,
  required this.inputsSchemaUri,
  required this.inputs,
  this.state = JobState.$default,
  this.labelingProgress = 0,
  this.currentSpend,
  this.createTime,
  this.updateTime,
  this.error,
  this.labels = const {},
  this.specialistPools = const [],
  this.encryptionSpec,
  this.activeLearningConfig,
}) : super(fullyQualifiedName);