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';
|
import 'package:nc_photos/account.dart';
|
||||||
|
|
||||||
class Person with EquatableMixin {
|
class Person with EquatableMixin {
|
||||||
Person({
|
const Person({
|
||||||
required this.name,
|
required this.name,
|
||||||
required this.thumbFaceId,
|
required this.thumbFaceId,
|
||||||
required this.count,
|
required this.count,
|
||||||
});
|
});
|
||||||
|
|
||||||
@override
|
@override
|
||||||
toString() {
|
toString() => "$runtimeType {"
|
||||||
return "$runtimeType {"
|
"name: '$name', "
|
||||||
"name: '$name', "
|
"thumbFaceId: '$thumbFaceId', "
|
||||||
"thumbFaceId: '$thumbFaceId', "
|
"count: '$count', "
|
||||||
"count: '$count', "
|
"}";
|
||||||
"}";
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
get props => [
|
get props => [
|
||||||
|
|
Loading…
Reference in a new issue