toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (creatorComment != null) 'creatorComment': creatorComment!,
      if (creators != null) 'creators': creators!,
      if (documentComment != null) 'documentComment': documentComment!,
      if (externalDocumentRefs != null)
        'externalDocumentRefs': externalDocumentRefs!,
      if (id != null) 'id': id!,
      if (licenseListVersion != null)
        'licenseListVersion': licenseListVersion!,
      if (namespace != null) 'namespace': namespace!,
      if (title != null) 'title': title!,
    };