toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (alternateLink != null) 'alternateLink': alternateLink!,
if (appDataContents != null) 'appDataContents': appDataContents!,
if (canComment != null) 'canComment': canComment!,
if (canReadRevisions != null) 'canReadRevisions': canReadRevisions!,
if (capabilities != null) 'capabilities': capabilities!,
if (contentRestrictions != null)
'contentRestrictions': contentRestrictions!,
if (copyRequiresWriterPermission != null)
'copyRequiresWriterPermission': copyRequiresWriterPermission!,
if (copyable != null) 'copyable': copyable!,
if (createdDate != null)
'createdDate': createdDate!.toUtc().toIso8601String(),
if (defaultOpenWithLink != null)
'defaultOpenWithLink': defaultOpenWithLink!,
if (description != null) 'description': description!,
if (downloadUrl != null) 'downloadUrl': downloadUrl!,
if (driveId != null) 'driveId': driveId!,
if (editable != null) 'editable': editable!,
if (embedLink != null) 'embedLink': embedLink!,
if (etag != null) 'etag': etag!,
if (explicitlyTrashed != null) 'explicitlyTrashed': explicitlyTrashed!,
if (exportLinks != null) 'exportLinks': exportLinks!,
if (fileExtension != null) 'fileExtension': fileExtension!,
if (fileSize != null) 'fileSize': fileSize!,
if (folderColorRgb != null) 'folderColorRgb': folderColorRgb!,
if (fullFileExtension != null) 'fullFileExtension': fullFileExtension!,
if (hasAugmentedPermissions != null)
'hasAugmentedPermissions': hasAugmentedPermissions!,
if (hasThumbnail != null) 'hasThumbnail': hasThumbnail!,
if (headRevisionId != null) 'headRevisionId': headRevisionId!,
if (iconLink != null) 'iconLink': iconLink!,
if (id != null) 'id': id!,
if (imageMediaMetadata != null)
'imageMediaMetadata': imageMediaMetadata!,
if (indexableText != null) 'indexableText': indexableText!,
if (isAppAuthorized != null) 'isAppAuthorized': isAppAuthorized!,
if (kind != null) 'kind': kind!,
if (labelInfo != null) 'labelInfo': labelInfo!,
if (labels != null) 'labels': labels!,
if (lastModifyingUser != null) 'lastModifyingUser': lastModifyingUser!,
if (lastModifyingUserName != null)
'lastModifyingUserName': lastModifyingUserName!,
if (lastViewedByMeDate != null)
'lastViewedByMeDate': lastViewedByMeDate!.toUtc().toIso8601String(),
if (linkShareMetadata != null) 'linkShareMetadata': linkShareMetadata!,
if (markedViewedByMeDate != null)
'markedViewedByMeDate':
markedViewedByMeDate!.toUtc().toIso8601String(),
if (md5Checksum != null) 'md5Checksum': md5Checksum!,
if (mimeType != null) 'mimeType': mimeType!,
if (modifiedByMeDate != null)
'modifiedByMeDate': modifiedByMeDate!.toUtc().toIso8601String(),
if (modifiedDate != null)
'modifiedDate': modifiedDate!.toUtc().toIso8601String(),
if (openWithLinks != null) 'openWithLinks': openWithLinks!,
if (originalFilename != null) 'originalFilename': originalFilename!,
if (ownedByMe != null) 'ownedByMe': ownedByMe!,
if (ownerNames != null) 'ownerNames': ownerNames!,
if (owners != null) 'owners': owners!,
if (parents != null) 'parents': parents!,
if (permissionIds != null) 'permissionIds': permissionIds!,
if (permissions != null) 'permissions': permissions!,
if (properties != null) 'properties': properties!,
if (quotaBytesUsed != null) 'quotaBytesUsed': quotaBytesUsed!,
if (resourceKey != null) 'resourceKey': resourceKey!,
if (selfLink != null) 'selfLink': selfLink!,
if (sha1Checksum != null) 'sha1Checksum': sha1Checksum!,
if (sha256Checksum != null) 'sha256Checksum': sha256Checksum!,
if (shareable != null) 'shareable': shareable!,
if (shared != null) 'shared': shared!,
if (sharedWithMeDate != null)
'sharedWithMeDate': sharedWithMeDate!.toUtc().toIso8601String(),
if (sharingUser != null) 'sharingUser': sharingUser!,
if (shortcutDetails != null) 'shortcutDetails': shortcutDetails!,
if (spaces != null) 'spaces': spaces!,
if (teamDriveId != null) 'teamDriveId': teamDriveId!,
if (thumbnail != null) 'thumbnail': thumbnail!,
if (thumbnailLink != null) 'thumbnailLink': thumbnailLink!,
if (thumbnailVersion != null) 'thumbnailVersion': thumbnailVersion!,
if (title != null) 'title': title!,
if (trashedDate != null)
'trashedDate': trashedDate!.toUtc().toIso8601String(),
if (trashingUser != null) 'trashingUser': trashingUser!,
if (userPermission != null) 'userPermission': userPermission!,
if (version != null) 'version': version!,
if (videoMediaMetadata != null)
'videoMediaMetadata': videoMediaMetadata!,
if (webContentLink != null) 'webContentLink': webContentLink!,
if (webViewLink != null) 'webViewLink': webViewLink!,
if (writersCanShare != null) 'writersCanShare': writersCanShare!,
};