EntryMetadata constructor
EntryMetadata({})
Implementation
EntryMetadata({
/// True if it is a directory. Must be provided if requested in
/// `options`.
bool? isDirectory,
/// Name of this entry (not full path name). Must not contain '/'. For root
/// it must be empty. Must be provided if requested in `options`.
String? name,
/// File size in bytes. Must be provided if requested in
/// `options`.
double? size,
/// The last modified time of this entry. Must be provided if requested in
/// `options`.
JSAny? modificationTime,
/// Mime type for the entry. Always optional, but should be provided if
/// requested in `options`.
String? mimeType,
/// Thumbnail image as a data URI in either PNG, JPEG or WEBP format, at
/// most
/// 32 KB in size. Optional, but can be provided only when explicitly
/// requested by the [onGetMetadataRequested] event.
String? thumbnail,
/// Cloud storage representation of this entry. Must be provided if
/// requested
/// in `options` and the file is backed by cloud storage. For
/// local files not backed by cloud storage, it should be undefined when
/// requested.
CloudIdentifier? cloudIdentifier,
}) : _wrapped = $js.EntryMetadata(
isDirectory: isDirectory,
name: name,
size: size,
modificationTime: modificationTime,
mimeType: mimeType,
thumbnail: thumbnail,
cloudIdentifier: cloudIdentifier?.toJS,
);