2020-06-19 23:03:26 +00:00
|
|
|
import 'package:photos/models/file.dart';
|
2020-04-18 18:46:38 +00:00
|
|
|
|
2020-05-17 14:35:31 +00:00
|
|
|
class DeviceFolder {
|
2020-04-18 18:46:38 +00:00
|
|
|
final String name;
|
2020-07-16 00:35:12 +00:00
|
|
|
final String path;
|
2020-06-19 23:03:26 +00:00
|
|
|
final File thumbnail;
|
2020-04-18 18:46:38 +00:00
|
|
|
|
2020-07-16 00:35:12 +00:00
|
|
|
DeviceFolder(
|
|
|
|
this.name,
|
|
|
|
this.path,
|
2020-11-14 10:57:08 +00:00
|
|
|
this.thumbnail,
|
|
|
|
);
|
2020-04-18 18:46:38 +00:00
|
|
|
}
|
2022-07-26 07:38:04 +00:00
|
|
|
|
|
|
|
class DevicePathCollection {
|
|
|
|
final String id;
|
|
|
|
final String name;
|
|
|
|
final String path;
|
|
|
|
final String coverId;
|
|
|
|
final int count;
|
2022-08-23 11:14:25 +00:00
|
|
|
final bool sync;
|
2022-07-26 07:38:04 +00:00
|
|
|
final int collectionID;
|
|
|
|
File thumbnail;
|
|
|
|
|
|
|
|
DevicePathCollection(
|
|
|
|
this.id,
|
|
|
|
this.name, {
|
|
|
|
this.path,
|
|
|
|
this.coverId,
|
|
|
|
this.count,
|
|
|
|
this.collectionID,
|
|
|
|
this.thumbnail,
|
2022-08-23 11:14:25 +00:00
|
|
|
this.sync = false,
|
2022-07-26 07:38:04 +00:00
|
|
|
});
|
|
|
|
}
|