1
0
Fork 0
mirror of https://gitlab.com/nkming2/nc-photos.git synced 2025-03-10 09:18:52 +01:00
nc-photos/app/lib/entity/person_face.dart
2023-07-22 22:27:54 +08:00

23 lines
467 B
Dart

import 'package:nc_photos/entity/file_descriptor.dart';
import 'package:to_string/to_string.dart';
part 'person_face.g.dart';
/// A file with the face of a person
abstract class PersonFace {
const PersonFace();
FileDescriptor get file;
}
/// The basic form of [PersonFace]
@toString
class BasicPersonFace implements PersonFace {
const BasicPersonFace(this.file);
@override
String toString() => _$toString();
@override
final FileDescriptor file;
}