toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotationFilter != null) 'annotationFilter': annotationFilter!,
      if (annotationSpecCount != null)
        'annotationSpecCount': annotationSpecCount!,
      if (createTime != null) 'createTime': createTime!,
      if (displayName != null) 'displayName': displayName!,
      if (etag != null) 'etag': etag!,
      if (metadata != null) 'metadata': metadata!,
      if (name != null) 'name': name!,
      if (problemType != null) 'problemType': problemType!,
      if (supportAutomlTraining != null)
        'supportAutomlTraining': supportAutomlTraining!,
      if (updateTime != null) 'updateTime': updateTime!,
    };