toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (annotationSource != null) 'annotationSource': annotationSource!,
if (annotationType != null) 'annotationType': annotationType!,
if (blockingResources != null) 'blockingResources': blockingResources!,
if (completedExampleCount != null)
'completedExampleCount': completedExampleCount!,
if (createTime != null) 'createTime': createTime!,
if (description != null) 'description': description!,
if (displayName != null) 'displayName': displayName!,
if (exampleCount != null) 'exampleCount': exampleCount!,
if (labelStats != null) 'labelStats': labelStats!,
if (metadata != null) 'metadata': metadata!,
if (name != null) 'name': name!,
};