You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
541 B
33 lines
541 B
2 years ago
|
part of '../neon_files.dart';
|
||
2 years ago
|
|
||
|
class FileDetails {
|
||
|
FileDetails({
|
||
|
required this.path,
|
||
|
required this.isDirectory,
|
||
|
required this.size,
|
||
|
required this.etag,
|
||
|
required this.mimeType,
|
||
|
required this.lastModified,
|
||
|
required this.hasPreview,
|
||
|
required this.isFavorite,
|
||
|
});
|
||
|
|
||
|
String get name => path.last;
|
||
|
|
||
|
final List<String> path;
|
||
|
|
||
|
final bool isDirectory;
|
||
|
|
||
|
final int size;
|
||
|
|
||
|
final String? etag;
|
||
|
|
||
|
final String? mimeType;
|
||
|
|
||
|
final DateTime lastModified;
|
||
|
|
||
|
final bool? hasPreview;
|
||
|
|
||
|
final bool? isFavorite;
|
||
|
}
|