toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotationSchemaUri != null)
        'annotationSchemaUri': annotationSchemaUri!,
      if (createTime != null) 'createTime': createTime!,
      if (dataItemSchemaUri != null) 'dataItemSchemaUri': dataItemSchemaUri!,
      if (displayName != null) 'displayName': displayName!,
      if (explanationSpecs != null) 'explanationSpecs': explanationSpecs!,
      if (metadata != null) 'metadata': metadata!,
      if (metrics != null) 'metrics': metrics!,
      if (metricsSchemaUri != null) 'metricsSchemaUri': metricsSchemaUri!,
      if (modelExplanation != null) 'modelExplanation': modelExplanation!,
      if (name != null) 'name': name!,
      if (sliceDimensions != null) 'sliceDimensions': sliceDimensions!,
    };