toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotationSource != null) 'annotationSource': annotationSource!,
      if (createTime != null) 'createTime': createTime!,
      if (etag != null) 'etag': etag!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (payload != null) 'payload': payload!,
      if (payloadSchemaUri != null) 'payloadSchemaUri': payloadSchemaUri!,
      if (updateTime != null) 'updateTime': updateTime!,
    };