チーム編集時の文字化け修正済み

This commit is contained in:
2024-07-28 08:39:10 +09:00
parent 08ffc42cdd
commit 7f8adeea01
8 changed files with 349 additions and 119 deletions

View File

@ -19,6 +19,16 @@ class NewCategory {
required this.female,
});
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is NewCategory &&
runtimeType == other.runtimeType &&
id == other.id;
@override
int get hashCode => id.hashCode;
factory NewCategory.fromJson(Map<String, dynamic> json) {
return NewCategory(
id: json['id'] ?? 0,