toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final activeLearningConfig = this.activeLearningConfig;
  final annotationLabels = this.annotationLabels;
  final createTime = this.createTime;
  final currentSpend = this.currentSpend;
  final datasets = this.datasets;
  final displayName = this.displayName;
  final encryptionSpec = this.encryptionSpec;
  final error = this.error;
  final inputs = this.inputs;
  final inputsSchemaUri = this.inputsSchemaUri;
  final instructionUri = this.instructionUri;
  final labelerCount = this.labelerCount;
  final labelingProgress = this.labelingProgress;
  final labels = this.labels;
  final name = this.name;
  final specialistPools = this.specialistPools;
  final state = this.state;
  final updateTime = this.updateTime;
  return {
    'activeLearningConfig': ?activeLearningConfig,
    'annotationLabels': ?annotationLabels,
    'createTime': ?createTime,
    'currentSpend': ?currentSpend,
    'datasets': ?datasets,
    'displayName': ?displayName,
    'encryptionSpec': ?encryptionSpec,
    'error': ?error,
    'inputs': ?inputs,
    'inputsSchemaUri': ?inputsSchemaUri,
    'instructionUri': ?instructionUri,
    'labelerCount': ?labelerCount,
    'labelingProgress': ?labelingProgress,
    'labels': ?labels,
    'name': ?name,
    'specialistPools': ?specialistPools,
    'state': ?state,
    'updateTime': ?updateTime,
  };
}