toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotationType != null) 'annotationType': annotationType!,
      if (config != null) 'config': config!.toJson(),
      if (createTime != null) 'createTime': createTime!,
      if (evaluatedItemCount != null)
        'evaluatedItemCount': evaluatedItemCount!,
      if (evaluationJobRunTime != null)
        'evaluationJobRunTime': evaluationJobRunTime!,
      if (evaluationMetrics != null)
        'evaluationMetrics': evaluationMetrics!.toJson(),
      if (name != null) 'name': name!,
    };