mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 18:38:48 +01:00
Improve code
This commit is contained in:
parent
8915ddf002
commit
fc3279a4d8
1 changed files with 6 additions and 8 deletions
|
@ -2,20 +2,18 @@ import 'package:equatable/equatable.dart';
|
|||
import 'package:nc_photos/account.dart';
|
||||
|
||||
class Person with EquatableMixin {
|
||||
Person({
|
||||
const Person({
|
||||
required this.name,
|
||||
required this.thumbFaceId,
|
||||
required this.count,
|
||||
});
|
||||
|
||||
@override
|
||||
toString() {
|
||||
return "$runtimeType {"
|
||||
toString() => "$runtimeType {"
|
||||
"name: '$name', "
|
||||
"thumbFaceId: '$thumbFaceId', "
|
||||
"count: '$count', "
|
||||
"}";
|
||||
}
|
||||
|
||||
@override
|
||||
get props => [
|
||||
|
|
Loading…
Reference in a new issue