mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-24 01:36:26 +01:00
18 lines
436 B
Dart
18 lines
436 B
Dart
|
import 'package:nc_photos/entity/collection_item.dart';
|
||
|
import 'package:nc_photos/entity/file_descriptor.dart';
|
||
|
import 'package:to_string/to_string.dart';
|
||
|
|
||
|
part 'basic_item.g.dart';
|
||
|
|
||
|
/// The basic form of [CollectionFileItem]
|
||
|
@toString
|
||
|
class BasicCollectionFileItem implements CollectionFileItem {
|
||
|
const BasicCollectionFileItem(this.file);
|
||
|
|
||
|
@override
|
||
|
String toString() => _$toString();
|
||
|
|
||
|
@override
|
||
|
final FileDescriptor file;
|
||
|
}
|