File constructor

File({
  1. Map<String, String?>? appProperties,
  2. FileCapabilities? capabilities,
  3. ClientEncryptionDetails? clientEncryptionDetails,
  4. FileContentHints? contentHints,
  5. List<ContentRestriction>? contentRestrictions,
  6. bool? copyRequiresWriterPermission,
  7. DateTime? createdTime,
  8. String? description,
  9. DownloadRestrictionsMetadata? downloadRestrictions,
  10. String? driveId,
  11. bool? explicitlyTrashed,
  12. Map<String, String>? exportLinks,
  13. String? fileExtension,
  14. String? folderColorRgb,
  15. String? fullFileExtension,
  16. bool? hasAugmentedPermissions,
  17. bool? hasThumbnail,
  18. String? headRevisionId,
  19. String? iconLink,
  20. String? id,
  21. FileImageMediaMetadata? imageMediaMetadata,
  22. bool? inheritedPermissionsDisabled,
  23. bool? isAppAuthorized,
  24. String? kind,
  25. FileLabelInfo? labelInfo,
  26. User? lastModifyingUser,
  27. FileLinkShareMetadata? linkShareMetadata,
  28. String? md5Checksum,
  29. String? mimeType,
  30. bool? modifiedByMe,
  31. DateTime? modifiedByMeTime,
  32. DateTime? modifiedTime,
  33. String? name,
  34. String? originalFilename,
  35. bool? ownedByMe,
  36. List<User>? owners,
  37. List<String>? parents,
  38. List<String>? permissionIds,
  39. List<Permission>? permissions,
  40. Map<String, String?>? properties,
  41. String? quotaBytesUsed,
  42. String? resourceKey,
  43. String? sha1Checksum,
  44. String? sha256Checksum,
  45. bool? shared,
  46. DateTime? sharedWithMeTime,
  47. User? sharingUser,
  48. FileShortcutDetails? shortcutDetails,
  49. String? size,
  50. List<String>? spaces,
  51. bool? starred,
  52. String? teamDriveId,
  53. String? thumbnailLink,
  54. String? thumbnailVersion,
  55. bool? trashed,
  56. DateTime? trashedTime,
  57. User? trashingUser,
  58. String? version,
  59. FileVideoMediaMetadata? videoMediaMetadata,
  60. bool? viewedByMe,
  61. DateTime? viewedByMeTime,
  62. bool? viewersCanCopyContent,
  63. String? webContentLink,
  64. String? webViewLink,
  65. bool? writersCanShare,
})

Implementation

File({
  this.appProperties,
  this.capabilities,
  this.clientEncryptionDetails,
  this.contentHints,
  this.contentRestrictions,
  this.copyRequiresWriterPermission,
  this.createdTime,
  this.description,
  this.downloadRestrictions,
  this.driveId,
  this.explicitlyTrashed,
  this.exportLinks,
  this.fileExtension,
  this.folderColorRgb,
  this.fullFileExtension,
  this.hasAugmentedPermissions,
  this.hasThumbnail,
  this.headRevisionId,
  this.iconLink,
  this.id,
  this.imageMediaMetadata,
  this.inheritedPermissionsDisabled,
  this.isAppAuthorized,
  this.kind,
  this.labelInfo,
  this.lastModifyingUser,
  this.linkShareMetadata,
  this.md5Checksum,
  this.mimeType,
  this.modifiedByMe,
  this.modifiedByMeTime,
  this.modifiedTime,
  this.name,
  this.originalFilename,
  this.ownedByMe,
  this.owners,
  this.parents,
  this.permissionIds,
  this.permissions,
  this.properties,
  this.quotaBytesUsed,
  this.resourceKey,
  this.sha1Checksum,
  this.sha256Checksum,
  this.shared,
  this.sharedWithMeTime,
  this.sharingUser,
  this.shortcutDetails,
  this.size,
  this.spaces,
  this.starred,
  this.teamDriveId,
  this.thumbnailLink,
  this.thumbnailVersion,
  this.trashed,
  this.trashedTime,
  this.trashingUser,
  this.version,
  this.videoMediaMetadata,
  this.viewedByMe,
  this.viewedByMeTime,
  this.viewersCanCopyContent,
  this.webContentLink,
  this.webViewLink,
  this.writersCanShare,
});